/* Atlas Search / Portal 9.0 — single-purpose templates, not generic AI cards.
   All design styles under .rp-* to prevent conflicts with legacy widgets. */
:root{--rp-ink:#151922;--rp-muted:#637086;--rp-border:#e7e9ef;--rp-soft:#f6f7f9;--rp-blue:#0969da;--rp-accent:#0a74e8;--rp-card:#fff;--rp-radius:16px;--rp-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
html{background:#fff!important}
body.home,body.search-results{padding:0!important;margin:0!important;background:#fff!important;color:var(--rp-ink)!important;font-family:var(--rp-font)!important}
body.home *,body.search-results *{box-sizing:border-box}
body.home .a18-frame,body.search-results .a18-frame{border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;max-width:none!important;margin:0!important;overflow:visible!important}
body.home #content,body.search-results #content{padding:0!important;margin:0!important;max-width:none!important;min-height:0!important;background:#fff!important;overflow:visible!important}
body.home #header:empty{display:none!important}
body.search-results #header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--rp-border)}
.rp-sr{position:absolute!important;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
.rp-home,.rp-serp,.rp-results-header{color:var(--rp-ink);font-family:var(--rp-font);font-size:14px;line-height:1.5}
.rp-home a,.rp-serp a,.rp-results-header a{color:inherit;text-decoration:none}
.rp-home button,.rp-serp button,.rp-results-header button{font-family:inherit;cursor:pointer}
.rp-home [hidden],.rp-serp [hidden]{display:none!important}
.rp-home :is(button,a,input):focus-visible,.rp-serp :is(button,a,input):focus-visible,.rp-results-header :is(button,a,input):focus-visible{outline:3px solid #99c6ff;outline-offset:3px}

/* Portal top navigation */
.rp-topbar{height:67px;border-bottom:1px solid var(--rp-border);background:#fff}
.rp-topbar-inner{max-width:1256px;height:100%;padding:0 24px;margin:auto;display:flex;align-items:center;gap:46px}
.rp-brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;flex:0 0 auto;font-weight:800!important;letter-spacing:-.045em;color:#151922!important;font-size:27px!important;line-height:1!important}
.rp-brand img{width:36px;height:36px;object-fit:contain;flex:0 0 auto}
.rp-mainnav{display:flex;align-items:center;gap:26px;flex:1;min-width:0}
.rp-mainnav a{font-size:14px;font-weight:570;color:#3e4755!important;white-space:nowrap;transition:color .18s}
.rp-mainnav a:hover{color:var(--rp-blue)!important}
.rp-toptools{margin-left:auto;display:flex;align-items:center;gap:10px;flex:0 0 auto}
.rp-topbutton{border:1px solid #e6eaf0!important;background:#fff!important;color:#374253!important;height:38px;min-width:38px;display:inline-flex;justify-content:center;align-items:center;gap:10px;border-radius:10px!important;padding:0 14px!important;font-weight:580!important;font-size:14px;box-shadow:none!important}
.rp-topbutton:hover{background:#f7f9fc!important;border-color:#d9e0e9!important}
.rp-topbutton--settings{padding:0!important;width:38px}

/* Hero — restrained search-first composition */
.rp-home-main{max-width:1256px;margin:0 auto;padding:0 24px 70px}
.rp-hero{display:flex;flex-direction:column;align-items:flex-start;padding:56px 0 28px;max-width:100%;background:#fff}
.rp-hero-intro{margin:0 0 26px}
.rp-brand-large{display:flex;align-items:center;gap:17px}
.rp-brand-large img{width:68px;height:68px;object-fit:contain}
.rp-brand-large h1{margin:0!important;color:#151922!important;font-weight:790;font-size:60px!important;line-height:1;letter-spacing:-.055em}
.rp-wordmark-dot{color:#087df1}
.rp-hero-intro p{font-size:17px!important;margin:12px 0 0 86px!important;color:var(--rp-muted)!important;line-height:1.4}
.rp-query-form{display:flex!important;align-items:center!important;width:100%;max-width:925px;min-width:0;height:64px;position:relative!important;background:#fff!important;border:2px solid #137be6!important;border-radius:13px!important;box-shadow:0 4px 15px rgba(12,93,194,.065)!important;padding:5px!important;gap:0!important;overflow:visible!important;transition:box-shadow .2s,border-color .2s}
.rp-query-form:focus-within{border-color:#0863d4!important;box-shadow:0 0 0 4px rgba(9,105,218,.09)!important}
.rp-search-lens{display:flex!important;align-items:center;justify-content:center;width:50px;flex:0 0 50px;color:#8591a3!important;font-size:17px}
.rp-query-form input[type=search]{display:block!important;width:100%!important;min-width:0!important;height:100%!important;max-height:none!important;flex:1 1 auto!important;padding:0 6px 0 0!important;margin:0!important;background:#fff!important;color:#1f2937!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;font-size:18px!important;font-weight:430!important;line-height:1.4!important}
.rp-query-form input::placeholder{color:#9199a8!important;opacity:1}
.rp-query-form input::-webkit-search-cancel-button{cursor:pointer}
.rp-inline-action{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 40px!important;width:40px!important;height:42px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#8491a4!important;font-size:17px!important;padding:0!important}
.rp-inline-action:hover{color:#0863d4!important;background:#eef6ff!important}
.rp-search-submit{display:inline-flex!important;align-items:center;justify-content:center;gap:15px;height:50px!important;min-width:128px;flex:0 0 auto;margin:0!important;padding:0 18px!important;background:#087bf1!important;border:0!important;border-radius:8px!important;color:white!important;font-size:16px!important;font-weight:700!important;box-shadow:none!important;transform:none!important}
.rp-search-submit:hover{background:#076ad1!important;transform:none!important;filter:none!important}
.rp-service-shortcuts{display:flex!important;align-items:center;flex-wrap:wrap;gap:7px;margin:21px 0 0!important;padding:0!important;width:100%}
.rp-service-shortcuts a,.rp-service-shortcuts button{background:#f5f7fa!important;border:1px solid #f0f2f6!important;border-radius:9px!important;color:#465367!important;font-size:13px!important;line-height:1.3!important;height:40px!important;display:inline-flex!important;align-items:center;gap:9px;padding:0 14px!important;font-weight:550!important;white-space:nowrap;box-shadow:none!important}
.rp-service-shortcuts i{color:#3473ba;font-size:14px}
.rp-service-shortcuts a:hover,.rp-service-shortcuts button:hover{color:#0863d4!important;background:#eef6ff!important;border-color:#dfedfc!important}
.rp-notice{padding:14px 16px;background:#fff4e4;border:1px solid #ffe3b7;border-radius:12px;color:#8b490d;margin:12px 0}

/* Editorial dashboard */
.rp-dashboard{margin-top:20px;border-top:1px solid #e8ebef;padding:28px 0 0}
.rp-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 22px}
.rp-kicker{display:block;color:#8390a1;letter-spacing:.1em;font-size:11px;font-weight:730;line-height:1.3;margin:0 0 4px}
.rp-section-heading h2{font-size:27px!important;line-height:1.2!important;letter-spacing:-.035em;color:#171b25!important;margin:0!important;font-weight:760!important}
.rp-section-heading>span{color:#8a93a2;font-size:13px;padding-bottom:3px}
.rp-dashboard-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important;width:100%!important;margin:0!important;padding:0!important}
.rp-card,.rp-side-card{position:relative!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid #e6e9ee!important;border-radius:var(--rp-radius)!important;background:var(--rp-card)!important;box-shadow:0 2px 9px rgba(15,23,42,.028)!important;color:var(--rp-ink)!important;transform:none!important;animation:none!important;min-width:0!important;height:auto!important;max-height:none!important;padding:0!important}
.rp-card:hover,.rp-side-card:hover{border-color:#d9e1ea!important;box-shadow:0 4px 16px rgba(15,23,42,.045)!important;transform:none!important}
.rp-card::before,.rp-card::after,.rp-side-card::before,.rp-side-card::after{display:none!important;content:none!important}
.rp-weather{grid-column:span 5!important;min-height:278px!important}
.rp-currency{grid-column:span 3!important;min-height:278px!important}
.rp-date{grid-column:span 4!important;min-height:278px!important}
.rp-ai{grid-column:span 5!important;min-height:262px!important;background:#f5f9ff!important;border-color:#e0e9f6!important}
.rp-tv{grid-column:span 4!important;min-height:262px!important}
.rp-horoscope{grid-column:span 3!important;min-height:262px!important}
.rp-card-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;padding:18px 20px 0!important;min-height:41px!important;margin:0!important;position:relative;z-index:2}
.rp-card-label{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important}
.rp-card-label>i{font-size:16px!important;width:22px;text-align:center;color:#4084c7!important;flex:0 0 auto}
.rp-card-label h3{margin:0!important;padding:0!important;font-size:16px!important;font-weight:720!important;line-height:1.2!important;color:#1d2531!important;letter-spacing:-.01em!important}
.rp-card-label .rp-inline-city{display:inline;font-size:14px;color:#788293;font-weight:520;margin-left:4px}
.rp-card-menu,.rp-side-title button,.rp-side-title>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;flex:0 0 30px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#929eaf!important;padding:0!important;box-shadow:none!important;text-decoration:none!important;opacity:1!important}
.rp-card-menu:hover,.rp-side-title button:hover,.rp-side-title>a:hover{color:#0969da!important;background:#edf5ff!important}
.rp-card-bottom{display:flex!important;align-items:center!important;min-height:48px!important;margin-top:auto!important;padding:0 20px!important;border-top:1px solid #eef0f3!important;background:transparent!important;position:relative;z-index:2}
.rp-card-bottom a,.rp-card-bottom button{display:inline-flex!important;align-items:center;gap:11px;color:#176acb!important;background:none!important;border:0!important;padding:0!important;font-weight:650!important;font-size:13px!important;line-height:1.4!important;margin:0!important;text-decoration:none!important}
.rp-card-bottom a:hover,.rp-card-bottom button:hover{color:#004a9e!important}
.rp-card-bottom i{font-size:11px}

/* weather*/
.rp-weather-body{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:12px 20px 4px!important;min-height:122px!important}
.rp-temp{font-size:57px!important;line-height:1!important;font-weight:710!important;letter-spacing:-.06em!important;color:#18202e!important;white-space:nowrap}
.rp-weather-description{font-size:14px!important;color:#354051!important;margin-top:6px!important}
.rp-weather-feels{font-size:12px!important;color:#8995a5!important;margin-top:3px!important}
.rp-weather-illustration{display:block!important;position:static!important;flex:0 0 110px!important;width:110px!important;height:110px!important;object-fit:contain!important;max-width:none!important;opacity:1!important;filter:none!important;transform:none!important;pointer-events:none;border-radius:12px!important}
.rp-weather-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;padding:8px 20px 18px!important;margin:0!important}
.rp-weather-metrics>div{min-width:0;padding:10px 11px!important;border-radius:9px!important;background:#f6f8fa!important;display:flex!important;flex-direction:column!important;gap:4px!important;line-height:1.3!important}
.rp-weather-metrics span{font-size:11px!important;color:#8390a0!important;white-space:nowrap}
.rp-weather-metrics b{font-weight:650!important;font-size:13px!important;line-height:1.3!important;color:#354154!important;white-space:nowrap}

/* Currency + day*/
.rp-currency-list{list-style:none!important;display:block!important;margin:15px 20px!important;padding:0!important;flex:1 1 auto}
.rp-currency-list li{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px;padding:12px 0!important;margin:0!important;background:transparent!important;border:0!important;border-bottom:1px solid #eef0f4!important;border-radius:0!important;min-height:42px!important;line-height:1.3}
.rp-currency-list li:last-child{border-bottom:0!important}
.rp-currency-list li>span{display:flex!important;flex-direction:column!important;gap:3px!important}
.rp-currency-list li>span:before{display:none!important;content:none!important}
.rp-currency-list b{font-size:14px!important;color:#263244!important;font-weight:730!important}
.rp-currency-list small{font-size:11px!important;color:#8b97a7!important}
.rp-currency-list strong{font-size:15px!important;font-weight:730!important;color:#161e2c!important;white-space:nowrap!important}
.rp-date-main{display:flex;flex-direction:column;gap:5px;margin:14px 20px 0!important;padding:0!important}
.rp-date-main strong{font-size:33px!important;line-height:1.2!important;letter-spacing:-.04em!important;color:#1d2530!important;font-weight:700!important}
.rp-date-main>span{font-size:13px!important;color:#8290a1!important}
.rp-moon-row{display:flex!important;align-items:center!important;gap:12px!important;margin:16px 20px 18px!important;padding:0!important;min-width:0!important}
.rp-moon-row>img{width:50px!important;height:50px!important;object-fit:contain!important;position:static!important;filter:none!important;flex:0 0 50px!important}
.rp-moon-row>div{display:flex!important;flex-direction:column!important;min-width:0!important;gap:3px!important}
.rp-moon-row div>span{font-size:11px!important;color:#8995a3!important}
.rp-moon-row b{font-size:13px!important;font-weight:680!important;color:#2d3748!important}
.rp-moon-row small{font-size:12px!important;color:#8995a3!important;white-space:nowrap!important}
.rp-moon-row i{font-style:normal!important}
.rp-moon-row em{display:none!important}

/* AI, TV and zodiac */
.rp-ai .rp-card-label i{color:#1674d0!important}
.rp-label{display:inline-flex;align-items:center;border-radius:7px;padding:5px 8px;background:#e8f1ff;color:#286cbb;font-size:11px;font-weight:650}
.rp-ai-copy{margin:14px 20px 0;position:relative;z-index:2}
.rp-ai-copy h4{font-size:23px!important;line-height:1.22!important;font-weight:755!important;letter-spacing:-.03em!important;margin:0 0 10px!important;color:#1b314d!important}
.rp-ai-copy p{font-size:13px!important;line-height:1.6!important;margin:0!important;max-width:390px;color:#5f728a!important}
.rp-ai-examples{display:flex;align-items:center;gap:8px;margin:16px 20px 18px;font-size:12px!important;flex-wrap:wrap}
.rp-ai-examples>span:first-child{color:#8e9caf}
.rp-ai-examples>span:nth-child(2){color:#2d6cb6;background:#e7f1ff;border-radius:7px;padding:4px 9px}
.rp-tv-list{display:flex!important;flex-direction:column!important;gap:9px!important;margin:13px 20px 16px!important;padding:0!important;flex:1!important;max-height:none!important}
.rp-tv-loading{display:flex!important;align-items:center!important;gap:14px!important;padding:17px!important;border:1px solid #eef0f3!important;border-radius:10px!important;background:#f7f8fa!important}
.rp-tv-loading img{width:50px!important;height:50px!important;object-fit:contain!important;position:static!important}
.rp-tv-loading>div{display:flex;flex-direction:column;gap:4px}
.rp-tv-loading b{font-size:13px!important;color:#30394a!important}
.rp-tv-loading small{font-size:12px!important;color:#8995a3!important;line-height:1.4!important}
.rp-horoscope-body{display:flex!important;gap:8px!important;align-items:flex-start!important;margin:15px 20px!important;padding:0!important;min-width:0!important;flex:1 1 auto!important}
.rp-horoscope-body>div{min-width:0;flex:1 1 auto}
.rp-horoscope-body strong{display:block;font-size:22px!important;line-height:1.15!important;font-weight:730!important;color:#263041!important;margin:0 0 5px!important}
.rp-horoscope-body small{font-size:11px!important;color:#95a0ac!important}
.rp-horoscope-body p{font-size:13px!important;line-height:1.55!important;color:#607086!important;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin:11px 0 0!important}
.rp-horoscope-image{flex:0 0 66px!important;width:66px!important;height:66px!important;border-radius:15px!important;background:#f3f7fe!important;display:grid!important;place-items:center!important}
.rp-horoscope-image img{display:block!important;width:52px!important;height:52px!important;object-fit:contain!important;position:static!important}

/* Search header */
.rp-results-header{background:#fff;width:100%;position:relative}
.rp-search-header-row{height:82px;max-width:1320px;padding:0 24px;margin:auto;display:flex;align-items:center;gap:34px}
.rp-search-header-row .rp-brand{font-size:25px!important}
.rp-search-header-row .rp-brand img{width:34px;height:34px}
.rp-query-form--results{height:54px!important;max-width:730px!important;border-width:1.5px!important;box-shadow:none!important;flex:1 1 550px!important}
.rp-query-form--results input[type=search]{font-size:16px!important}
.rp-query-form--results .rp-search-lens{width:42px;flex-basis:42px}
.rp-query-form--results .rp-search-submit{height:42px!important;min-width:92px!important;padding:0 15px!important;font-size:14px!important}
.rp-search-tabs{border-top:1px solid #f0f2f5;background:#fff}
.rp-search-tabs-inner{height:48px;max-width:1320px;padding:0 24px 0 150px;margin:auto;display:flex;align-items:stretch;gap:23px;overflow:auto;scrollbar-width:none}
.rp-search-tabs-inner::-webkit-scrollbar{display:none}
.rp-search-tabs-inner a,.rp-search-tabs-inner button{color:#637083!important;white-space:nowrap;font-size:13px!important;font-weight:600!important;display:inline-flex!important;align-items:center!important;gap:7px;border:0!important;background:transparent!important;padding:0 1px!important;margin:0!important;height:100%!important;position:relative;flex:0 0 auto;text-decoration:none}
.rp-search-tabs-inner a:hover,.rp-search-tabs-inner button:hover{color:#0969da!important}
.rp-search-tabs-inner a[aria-current="page"]{color:#0969da!important;font-weight:730!important}
.rp-search-tabs-inner a[aria-current="page"]:after{content:"";height:3px;position:absolute;bottom:0;left:0;right:0;border-radius:3px 3px 0 0;background:#0969da}

/* Search SERP layout */
.rp-serp{max-width:1320px;padding:24px 24px 80px;margin:auto;min-width:0}
.rp-results-caption{color:#8993a2!important;font-size:13px!important;margin:0 0 18px!important;line-height:1.4!important}
.rp-results-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 305px!important;gap:30px!important;align-items:start!important;min-width:0!important;max-width:none!important}
.rp-results-column{min-width:0!important;width:100%!important}
.rp-ai-results,.rp-web-results,.rp-related{border:1px solid #e6eaf0!important;border-radius:var(--rp-radius)!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;margin:0 0 16px!important;padding:0!important;min-width:0!important}
.rp-ai-results{background:#fafdff!important}
.rp-ai-results-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e9eff8;background:#f7faff}
.rp-ai-results-label{display:flex;align-items:center;gap:10px}
.rp-ai-results-label i{color:#1772c9;font-size:16px}
.rp-ai-results-label b{font-size:15px;color:#263346}
.rp-ai-results-label span,.rp-ai-results-heading>small{font-size:12px;color:#8d99a9;font-weight:500}
.rp-ai-results-heading>small{background:#e9f3ff;padding:4px 8px;color:#3876ba;border-radius:6px}
.rp-ai-results-body{padding:18px 20px;max-width:100%;min-height:100px;color:#364256;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.rp-ai-results-body p{font-size:14px;line-height:1.65;color:#364256;margin:0 0 10px}
.rp-ai-results-body li{font-size:14px;line-height:1.65}
.rp-ai-results-body h2,.rp-ai-results-body h3{color:#233146;margin-top:14px;margin-bottom:8px}
.rp-ai-results-footer{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 16px;border-top:1px solid #e9eff8;min-height:50px}
.rp-ai-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.rp-ai-actions button,.rp-ai-feedback button{display:inline-flex;align-items:center;gap:6px;justify-content:center;padding:6px 9px;border:0;background:transparent;color:#69798d;border-radius:8px;font-size:12px;min-height:30px}
.rp-ai-actions button:hover,.rp-ai-feedback button:hover{background:#edf4fc;color:#1d65b8}
.rp-ai-actions button:disabled{opacity:.45;cursor:not-allowed}
.rp-ai-results-footer [data-ai-status]{font-size:11px;color:#96a1af}
.rp-ai-results-footer [data-ai-sources]{font-size:11px;color:#96a1af}
.rp-ai-feedback{display:flex;gap:1px;margin-left:auto}
.rp-web-results{padding:12px 20px!important;background:#fff!important}
.rp-web-results .atlas-cse-host{min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important}
.rp-web-results .gsc-control-cse,.rp-web-results .gsc-control-cse .gsc-table-result{border:0!important;background:#fff!important;font-family:var(--rp-font)!important}
.rp-web-results .gsc-webResult.gsc-result,.rp-web-results .gsc-result{border:0!important;border-bottom:1px solid #f0f2f5!important;background:#fff!important;padding:16px 0!important;margin:0!important}
.rp-web-results .gsc-result .gs-title,.rp-web-results .gsc-result .gs-title a{font-size:18px!important;line-height:1.35!important;color:#1857b8!important;text-decoration:none!important;font-weight:560!important}
.rp-web-results .gs-bidi-start-align.gs-snippet,.rp-web-results .gs-snippet{color:#4c596b!important;font-size:13px!important;line-height:1.6!important}
.rp-web-results .gs-visibleUrl,.rp-web-results .gs-bidi-start-align.gs-visibleUrl{color:#6b7787!important;font-size:12px!important}
.rp-web-results #search-loader{margin:10px 0}
.rp-web-results .atlas-ad-unit:empty{display:none!important}
.rp-related{padding:18px 20px!important}
.rp-related h2{margin:0 0 14px!important;font-size:16px!important;color:#283447!important}
.rp-related>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.rp-related a{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f7f9fb;border-radius:9px;padding:11px 12px;font-size:13px;color:#3c526a!important;min-width:0}
.rp-related a:hover{color:#0969da!important;background:#edf5ff}
.rp-related a i{font-size:11px;flex:0 0 auto;color:#97a3b2}

/* Sidebar — compact vertical information modules */
.rp-sidebar{display:flex!important;flex-direction:column!important;gap:12px!important;position:static!important;min-width:0!important;max-width:none!important;padding:0!important;margin:0!important;grid-template-columns:none!important}
.rp-side-card{padding:0!important;min-height:0!important}
.rp-side-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 16px 0}
.rp-side-title h2{margin:0;font-size:15px;font-weight:730;color:#253348;line-height:1.3}
.rp-side-title h2 span{font-weight:510;color:#8291a1;margin-left:3px}
.rp-side-weather-main{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px 2px}
.rp-side-weather-main>div{display:flex;flex-direction:column;gap:3px}
.rp-side-weather-main strong{font-size:38px;color:#202b3b;line-height:1.1;letter-spacing:-.04em;font-weight:730}
.rp-side-weather-main span{font-size:13px;color:#4f5d70}
.rp-side-weather-main small{font-size:11px;color:#91a0ae}
.rp-side-weather-main img{width:85px!important;height:85px!important;object-fit:cover!important;position:static!important;opacity:1!important;filter:none!important;border-radius:10px!important}
.rp-side-stats{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;padding:8px 16px 13px!important;margin:0!important}
.rp-side-stats span{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:8px 10px!important;background:#f7f8fa!important;border:0!important;border-radius:8px!important;color:#7c8796!important;font-size:11px!important}
.rp-side-stats b{color:#3d4b60;font-size:12px}
.rp-side-link{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;border:0!important;border-top:1px solid #eef0f3!important;background:#fff!important;color:#176acb!important;font-size:12px!important;font-weight:650!important;min-height:42px!important;margin-top:auto!important;padding:8px 16px!important;text-decoration:none!important;border-radius:0!important;box-shadow:none!important}
.rp-side-link:hover{color:#0057b7!important;background:#fcfdff!important}
.rp-side-link i{font-size:10px}
.rp-sidebar .rp-currency-list{margin:10px 16px!important}
.rp-sidebar .rp-date-main{margin:10px 16px 0!important}
.rp-sidebar .rp-date-main strong{font-size:27px!important}
.rp-sidebar .rp-moon-row{margin:10px 16px 16px!important}
.rp-sidebar .rp-moon-row>img{width:44px!important;height:44px!important;flex-basis:44px!important}
.rp-sidebar .rp-tv-list{margin:10px 16px 14px!important}
.rp-sidebar .rp-tv-loading{padding:10px!important}
.rp-sidebar .rp-tv-loading img{width:36px!important;height:36px!important}
.rp-sidebar .rp-horoscope-body{margin:12px 16px 16px!important}
.rp-sidebar .rp-horoscope-body strong{font-size:18px!important}
.rp-sidebar .rp-horoscope-image{width:54px!important;height:54px!important;flex-basis:54px!important}
.rp-sidebar .rp-horoscope-image img{width:42px!important;height:42px!important}

/* Footer */
.rp-footer{margin-top:18px;background:#f8f9fb;border-top:1px solid var(--rp-border);color:#8894a3;font-family:var(--rp-font)}
.rp-footer-inner{max-width:1256px;margin:0 auto;display:flex;align-items:center;gap:30px;min-height:76px;padding:16px 24px;flex-wrap:wrap}
.rp-footer-logo{display:inline-flex;align-items:center;gap:7px;font-size:17px;color:#4d5c6f!important;font-weight:770!important;letter-spacing:-.035em}
.rp-footer-logo img{width:22px;height:22px;object-fit:contain}
.rp-footer nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-left:auto}
.rp-footer nav :is(a,button){font-size:12px;color:#728094!important;background:none;border:0;padding:0}
.rp-footer nav :is(a,button):hover{color:#0969da!important}
.rp-footer small{font-size:11px}

@media(max-width:1130px){
 .rp-dashboard-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 .rp-weather,.rp-ai{grid-column:span 4!important}
 .rp-currency,.rp-date,.rp-horoscope,.rp-tv{grid-column:span 2!important}
 .rp-results-layout{grid-template-columns:minmax(0,1fr) 270px!important;gap:18px!important}
 .rp-search-header-row{gap:20px}
 .rp-search-tabs-inner{padding-left:130px}
 .rp-mainnav{gap:16px}
 .rp-card{min-height:260px!important}
 .rp-weather-metrics{grid-template-columns:1fr!important}
 .rp-weather-metrics>div{flex-direction:row!important;justify-content:space-between!important;gap:8px}
}
@media(max-width:900px){
 .rp-mainnav{display:none}
 .rp-hero{padding-top:40px}
 .rp-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .rp-weather,.rp-ai,.rp-date,.rp-currency,.rp-tv,.rp-horoscope{grid-column:span 1!important}
 .rp-results-layout{grid-template-columns:1fr!important}
 .rp-sidebar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important}
 .rp-search-header-row{height:auto;min-height:78px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px;gap:12px}
 .rp-search-header-row>.rp-brand{order:0}
 .rp-search-header-row>.rp-toptools{order:1}
 .rp-search-header-row>.rp-query-form{order:2;flex:1 0 100%!important;max-width:none!important}
 .rp-search-tabs-inner{padding-left:24px}
}
@media(max-width:610px){
 .rp-topbar{height:60px}
 .rp-topbar-inner{padding:0 16px;gap:10px}
 .rp-brand{font-size:24px!important}
 .rp-brand img{width:32px;height:32px}
 .rp-topbutton{height:36px;min-width:36px;padding:0 10px!important}
 .rp-home-main{padding:0 16px 46px}
 .rp-hero{padding-top:33px;padding-bottom:18px}
 .rp-brand-large img{width:52px;height:52px}
 .rp-brand-large h1{font-size:47px!important}
 .rp-brand-large{gap:12px}
 .rp-hero-intro{margin-bottom:22px}
 .rp-hero-intro p{font-size:14px!important;margin:8px 0 0 64px!important}
 .rp-query-form{height:56px!important;border-radius:11px!important}
 .rp-search-lens{width:36px;flex-basis:36px;font-size:15px}
 .rp-query-form input[type=search]{font-size:16px!important}
 .rp-inline-action{flex-basis:34px!important;width:34px!important;height:38px!important;font-size:15px!important}
 .rp-query-form .rp-inline-action[data-atlas-image-search-shortcut]{display:none!important}
 .rp-search-submit{height:44px!important;min-width:73px!important;padding:0 12px!important;font-size:14px!important;gap:6px!important}
 .rp-search-submit i{display:none!important}
 .rp-service-shortcuts{margin-top:15px!important;gap:7px}
 .rp-service-shortcuts a,.rp-service-shortcuts button{height:36px!important;font-size:12px!important;padding:0 10px!important;gap:6px}
 .rp-section-heading{align-items:start;margin-bottom:15px}
 .rp-section-heading h2{font-size:23px!important}
 .rp-section-heading>span{display:none}
 .rp-dashboard{margin-top:13px;padding-top:22px}
 .rp-dashboard-grid{grid-template-columns:1fr!important;gap:12px!important}
 .rp-weather,.rp-ai,.rp-date,.rp-currency,.rp-tv,.rp-horoscope{grid-column:1/-1!important;min-height:0!important}
 .rp-weather-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .rp-weather-metrics>div{flex-direction:column!important;justify-content:initial!important}
 .rp-card-head{padding:17px 17px 0!important}
 .rp-card-bottom{padding:0 17px!important}
 .rp-weather-body{padding:9px 17px 0!important}
 .rp-weather-metrics{padding:7px 17px 14px!important}
 .rp-temp{font-size:54px!important}
 .rp-weather-illustration{width:94px!important;height:94px!important;flex-basis:94px!important}
 .rp-card-label h3{font-size:15px!important}
 .rp-currency-list{margin:10px 17px!important}
 .rp-date-main,.rp-moon-row,.rp-ai-copy,.rp-ai-examples,.rp-horoscope-body,.rp-tv-list{margin-left:17px!important;margin-right:17px!important}
 .rp-ai-copy h4{font-size:22px!important}
 .rp-toptools span{display:none}
 .rp-results-header .rp-toptools span{display:none}
 .rp-search-header-row{padding:10px 16px}
 .rp-search-tabs-inner{padding:0 16px;gap:22px}
 .rp-query-form--results{height:52px!important}
 .rp-query-form--results .rp-search-submit{height:40px!important;min-width:66px!important}
 .rp-serp{padding:20px 16px 50px}
 .rp-results-caption{font-size:12px!important}
 .rp-web-results{padding:10px 12px!important}
 .rp-ai-results-heading{padding:14px 15px}
 .rp-ai-results-body{padding:15px}
 .rp-ai-results-footer{padding:9px 12px}
 .rp-ai-feedback{margin-left:0}
 .rp-related{padding:15px!important}
 .rp-related>div{grid-template-columns:1fr}
 .rp-sidebar{grid-template-columns:1fr!important}
 .rp-footer-inner{gap:12px;padding:22px 16px}
 .rp-footer nav{margin-left:0;gap:15px}
 .rp-footer small{width:100%}
}
@media(prefers-reduced-motion:reduce){.rp-home *, .rp-serp *, .rp-results-header *{animation:none!important;transition:none!important}}


/* Atlas Portal 9.1 — compact header and accessible skip link (2026-10-13).
   Keep the skip navigation functional for keyboard users while ensuring it
   never occupies a visible row during normal browsing. */
body a[href$="#content"]:not(:focus),
body a.skip-link:not(:focus),
body a.skip-to-content:not(:focus){
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  border:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  clip:rect(0,0,0,0)!important;
  clip-path:inset(50%)!important;
}
body a[href$="#content"]:focus,
body a.skip-link:focus,
body a.skip-to-content:focus{
  position:fixed!important;
  top:8px!important;
  left:12px!important;
  z-index:99999!important;
  clip:auto!important;
  clip-path:none!important;
  width:auto!important;
  height:auto!important;
  padding:10px 14px!important;
  margin:0!important;
  border:2px solid #0969da!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#15243b!important;
  font-size:14px!important;
  line-height:1.35!important;
  box-shadow:0 4px 14px rgba(0,0,0,.15)!important;
}

/* Home header: navigation starts at the left, no duplicate logo. */
.rp-home .rp-topbar{height:50px!important;min-height:50px!important}
.rp-home .rp-topbar-inner{
  height:50px!important;
  max-width:1256px!important;
  gap:18px!important;
  padding:0 24px!important;
}
.rp-home .rp-mainnav{gap:24px!important}
.rp-home .rp-mainnav a{font-size:13px!important;line-height:1.3!important}
.rp-home .rp-toptools{gap:8px!important}
.rp-home .rp-topbutton{
  height:32px!important;
  min-height:32px!important;
  min-width:32px!important;
  padding:0 11px!important;
  border-radius:8px!important;
  font-size:13px!important;
}
.rp-home .rp-topbutton--settings{width:32px!important;padding:0!important}

/* Results: maintain a home link without a graphic brand, reduce header height. */
.rp-results-header .rp-search-header-row{
  height:62px!important;
  min-height:62px!important;
  max-width:1320px!important;
  gap:18px!important;
  padding:0 24px!important;
}
.rp-results-header .rp-home-return{
  flex:0 0 auto!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:600!important;
  color:#526174!important;
  text-decoration:none!important;
}
.rp-results-header .rp-home-return:hover{color:#0969da!important}
.rp-results-header .rp-query-form--results{
  height:46px!important;
  min-height:46px!important;
  max-width:730px!important;
  flex:1 1 420px!important;
}
.rp-results-header .rp-query-form--results .rp-search-submit{height:36px!important;min-height:36px!important}
.rp-results-header .rp-query-form--results .rp-inline-action{height:36px!important}
.rp-results-header .rp-search-tabs-inner{
  height:40px!important;
  padding:0 24px 0 87px!important;
  gap:20px!important;
}
.rp-results-header .rp-topbutton{
  height:34px!important;
  min-height:34px!important;
  min-width:34px!important;
  border-radius:8px!important;
  padding:0 10px!important;
  font-size:13px!important;
}
.rp-results-header .rp-topbutton--settings{width:34px!important;padding:0!important}

@media(max-width:900px){
  .rp-home .rp-topbar,.rp-home .rp-topbar-inner{height:50px!important;min-height:50px!important}
  .rp-results-header .rp-search-header-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px 12px!important;
    height:auto!important;
    min-height:0!important;
    padding:9px 18px!important;
  }
  .rp-results-header .rp-home-return{grid-column:1;grid-row:1;align-self:center}
  .rp-results-header .rp-toptools{grid-column:2;grid-row:1;justify-self:end;margin-left:0!important}
  .rp-results-header .rp-query-form--results{
    grid-column:1/-1;
    grid-row:2;
    width:100%!important;
    max-width:none!important;
    height:46px!important;
    min-height:46px!important;
    flex:none!important;
  }
  .rp-results-header .rp-search-tabs-inner{padding:0 18px!important}
}
@media(max-width:610px){
  .rp-home .rp-topbar,.rp-home .rp-topbar-inner{height:48px!important;min-height:48px!important}
  .rp-home .rp-topbar-inner{padding:0 16px!important}
  .rp-home .rp-toptools{gap:6px!important}
  .rp-home .rp-topbutton{min-height:32px!important;height:32px!important}
  .rp-results-header .rp-search-header-row{padding:8px 16px!important}
  .rp-results-header .rp-search-tabs-inner{height:38px!important;padding:0 16px!important}
  .rp-results-header .rp-query-form--results{height:44px!important;min-height:44px!important}
  .rp-results-header .rp-query-form--results .rp-search-submit{height:34px!important;min-height:34px!important}
}
