/* Atlas Portal 9.4 — wide first-row features and original weather artwork.
   Registered and enqueued after the previous portal layers. */
.rp-home .rp-dashboard-grid{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
  grid-auto-flow:row!important;
}
/* The first two cards occupy the entire dashboard row together. */
.rp-home .rp-dashboard-grid>.rp-weather{
  grid-column:span 5!important;
  grid-row:auto!important;
  min-width:0!important;
  min-height:330px!important;
  background:linear-gradient(122deg,#eff8ff 0%,#f8fcff 58%,#fff 100%)!important;
  border-color:#d7e8fa!important;
}
.rp-home .rp-dashboard-grid>.rp-ai{
  grid-column:span 7!important;
  grid-row:auto!important;
  min-width:0!important;
  min-height:330px!important;
  background:linear-gradient(116deg,#f8fbff 0%,#f0f7ff 100%)!important;
  border-color:#dce9fa!important;
}
.rp-home .rp-dashboard-grid>.rp-currency,
.rp-home .rp-dashboard-grid>.rp-date,
.rp-home .rp-dashboard-grid>.rp-tv,
.rp-home .rp-dashboard-grid>.rp-horoscope{
  grid-column:span 3!important;
  min-width:0!important;
}
/* Weather: stronger hierarchy and transparent illustrations without white boxes. */
.rp-home .rp-weather .rp-card-head,
.rp-home .rp-ai .rp-card-head{padding:22px 26px 0!important}
.rp-home .rp-weather .rp-card-label h3,
.rp-home .rp-ai .rp-card-label h3{font-size:17px!important;letter-spacing:-.025em!important}
.rp-home .rp-weather-body{
  padding:14px 26px 6px!important;
  min-height:145px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;
}
.rp-home .rp-temp{font-size:clamp(57px,5vw,78px)!important;line-height:1.03!important;font-weight:770!important;letter-spacing:-.055em!important;color:#15314f!important}
.rp-home .rp-weather-description{font-size:16px!important;font-weight:600!important;line-height:1.35!important;color:#34516f!important}
.rp-home .rp-weather-feels{font-size:13px!important;color:#677f99!important;margin-top:8px!important}
.rp-home .rp-weather-illustration{
  position:relative!important;
  width:clamp(136px,13vw,190px)!important;
  height:clamp(136px,13vw,190px)!important;
  flex:0 0 clamp(136px,13vw,190px)!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  opacity:1!important;
  filter:none!important;
  transform:none!important;
}
.rp-home .rp-weather-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:10px 26px 20px!important}
.rp-home .rp-weather-metrics>div{min-width:0!important;padding:12px 13px!important;border-radius:12px!important;background:rgba(255,255,255,.88)!important;border:1px solid #e0eefa!important}
.rp-home .rp-weather-metrics span{font-size:12px!important;color:#7186a0!important}
.rp-home .rp-weather-metrics b{font-size:15px!important;font-weight:720!important;color:#1a3a5d!important}
.rp-home .rp-weather .rp-card-bottom,
.rp-home .rp-ai .rp-card-bottom{min-height:54px!important;padding:0 26px!important}
/* AI now uses the extra width for actual content rather than an empty region. */
.rp-home .rp-ai-copy{max-width:none!important;width:auto!important;margin:18px 26px 12px!important;padding:0!important;display:block!important}
.rp-home .rp-ai-copy h4{max-width:680px!important;font-size:clamp(25px,2.6vw,36px)!important;line-height:1.18!important;letter-spacing:-.04em!important;font-weight:760!important;color:#163350!important;margin:0 0 14px!important}
.rp-home .rp-ai-copy h4 br{display:none!important}
.rp-home .rp-ai-copy p{max-width:680px!important;font-size:15px!important;line-height:1.65!important;color:#5e7893!important;margin:0!important}
.rp-home .rp-ai-examples{margin:0 26px 15px!important;padding:0!important;gap:10px!important;flex-wrap:wrap!important}
.rp-home .rp-ai-examples>span:nth-child(2){background:#fff!important;color:#2671c7!important;padding:9px 12px!important;border-radius:11px!important;border:1px solid #dae9fb!important}
/* The AI result has only relevant actions: refine and copy. */
.rp-ai-results-footer .rp-ai-actions{display:flex!important;align-items:center!important;gap:8px!important}
.rp-ai-results-footer [data-ai-run]{display:none!important}
/* Weather in sidebar uses the same themed artwork. */
.rp-serp .rp-side-weather-main img[data-weather-art]{width:100px!important;height:100px!important;max-width:40%!important;object-fit:contain!important;background:transparent!important;border:0!important;box-shadow:none!important}
@media(max-width:1180px){
  .rp-home .rp-dashboard-grid>.rp-weather{grid-column:span 6!important}
  .rp-home .rp-dashboard-grid>.rp-ai{grid-column:span 6!important}
  .rp-home .rp-dashboard-grid>.rp-currency,
  .rp-home .rp-dashboard-grid>.rp-date,
  .rp-home .rp-dashboard-grid>.rp-tv,
  .rp-home .rp-dashboard-grid>.rp-horoscope{grid-column:span 6!important}
  .rp-home .rp-weather-illustration{width:150px!important;height:150px!important;flex-basis:150px!important}
}
@media(max-width:820px){
  .rp-home .rp-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  .rp-home .rp-dashboard-grid>.rp-weather,.rp-home .rp-dashboard-grid>.rp-ai{grid-column:1/-1!important;min-height:0!important}
  .rp-home .rp-dashboard-grid>.rp-currency,.rp-home .rp-dashboard-grid>.rp-date,
  .rp-home .rp-dashboard-grid>.rp-tv,.rp-home .rp-dashboard-grid>.rp-horoscope{grid-column:span 1!important}
  .rp-home .rp-weather-body{min-height:130px!important}
}
@media(max-width:560px){
  .rp-home .rp-dashboard-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  .rp-home .rp-dashboard-grid>.rp-card{grid-column:1/-1!important;min-height:0!important}
  .rp-home .rp-weather .rp-card-head,.rp-home .rp-ai .rp-card-head{padding:18px 18px 0!important}
  .rp-home .rp-weather-body{padding:10px 18px 0!important;min-height:120px!important}
  .rp-home .rp-weather-illustration{width:124px!important;height:124px!important;flex-basis:124px!important}
  .rp-home .rp-temp{font-size:56px!important}
  .rp-home .rp-weather-metrics{padding:12px 18px 16px!important;gap:6px!important}
  .rp-home .rp-weather-metrics>div{padding:10px 9px!important;gap:6px!important}
  .rp-home .rp-weather-metrics b{font-size:13px!important;overflow-wrap:anywhere!important}
  .rp-home .rp-ai-copy{margin:16px 18px 12px!important}
  .rp-home .rp-ai-copy h4{font-size:26px!important}
  .rp-home .rp-ai-copy h4 br{display:none!important}
  .rp-home .rp-ai-examples{margin:0 18px 16px!important}
  .rp-home .rp-weather .rp-card-bottom,.rp-home .rp-ai .rp-card-bottom{padding:0 18px!important}
}

/* Atlas Portal 9.5 — center the homepage identity while preserving full-width search. */
.rp-home .rp-hero-intro{
  align-self:center!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  margin:0 auto 26px!important;
  text-align:center!important;
}
.rp-home .rp-hero-intro .rp-brand-large{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
}
.rp-home .rp-hero-intro p{
  margin:11px 0 0!important;
  max-width:100%!important;
  color:#637086!important;
  text-align:center!important;
}
@media(max-width:610px){
  .rp-home .rp-hero-intro{margin-bottom:22px!important}
  .rp-home .rp-hero-intro p{margin:8px 0 0!important}
}

/* Atlas Portal 9.6 — reliable Atlas AI shortcut icon (no icon-font dependency). */
.rp-home .rp-service-shortcuts .rp-ai-shortcut{display:inline-flex!important;align-items:center!important;gap:8px!important}
.rp-home .rp-service-shortcuts .rp-ai-shortcut-icon{display:inline-grid!important;place-items:center!important;width:24px!important;height:24px!important;flex:0 0 24px!important;border-radius:8px!important;color:#087bf1!important;background:#e7f1ff!important}
.rp-home .rp-service-shortcuts .rp-ai-shortcut-icon svg{display:block!important;width:17px!important;height:17px!important;stroke:currentColor!important;fill:none!important;overflow:visible!important}
.rp-home .rp-service-shortcuts .rp-ai-shortcut:hover .rp-ai-shortcut-icon{background:#d9ebff!important}
