﻿/* Scoped presentation for individual weekly forecasts. */
#profile-preview.weekly-profile-active .pr-sidebar { display: none; }
#profile-preview.weekly-profile-active .pr-layout { grid-template-columns: minmax(0,1fr) 310px; }
#weekly-profile { display: grid; gap: 14px; min-width: 0; }
#weekly-profile-sidebar { min-width: 0; display: flex; flex-direction: column; gap: 12px; background: #f7faff; border-radius: 9px; }
.wp-panel { min-width: 0; border: 1px solid #dfe9f8; border-radius: 9px; padding: 18px; background: white; }
#profile-preview .wp-panel h2 { font-size: 21px; margin: 0 0 12px; }
#profile-preview .wp-panel h3 { font-size: 19px; margin: 0 0 12px; }
#profile-preview .wp-demo { font-size: 10px; line-height: 1.5; color: #7b6592; margin: 0 0 12px; }
.wp-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.wp-date { font-size: 11px; padding: 8px; border-radius: 6px; background: #f4f7fe; margin: 0 0 12px; color: #53698b; }
.wp-lead { display: grid; grid-template-columns: 185px minmax(0,1fr); gap: 18px; margin-top: 5px; }
.wp-lead > img { width: 100%; height: 160px; object-fit: cover; object-position: 30% center; border-radius: 7px; }
#weekly-profile #section-nedela { padding: 0; margin: 0; border: 0; background: transparent; }
#weekly-profile #section-nedela h2 { display: none; }
#weekly-profile #section-nedela p { font-size: 13px; line-height: 1.7; }
#weekly-profile #section-nedela .daily-date, #weekly-profile #section-nedela .muted { font-size: 10px; }
#weekly-profile #section-nedela .notice { font-size: 11px; padding: 9px 12px; }
.wp-domains { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.wp-domains article { display: flex; flex-direction: column; min-width: 0; padding: 14px; border: 1px solid #e2eaf7; border-radius: 7px; }
#profile-preview .wp-domains h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.wp-domains h3 span { font-size: 24px; color: #a43de4; }
.wp-domains p { font-size: 12px; color: #53698b; margin: 0 0 12px; }
.wp-domains a { margin-top: auto; text-decoration: none; color: #0866ed; font-size: 11px; }
.wp-bottom { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.wp-stack { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.wp-recommendation { flex: 1; }
.wp-recommendation > p:last-child { font-size: 13px; line-height: 1.7; color: #53698b; }
.wp-days { list-style: none; padding: 0; margin: 0; }
.wp-days li { display: grid; grid-template-columns: 30px 45px minmax(0,1fr); gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e7eef9; }
.wp-days li:last-child { border: 0; }
.wp-day-symbol { display: grid; place-items: center; width: 30px; height: 34px; border-radius: 8px; color: #0866ed; background: #e8f3ff; font-weight: bold; }
.wp-day-0 { color: #00a65d; background: #e2f8e9; }
.wp-day-3, .wp-day-4 { color: #8739d6; background: #f1e7ff; }
.wp-day-5, .wp-day-6 { color: #ed2471; background: #ffe7ef; }
.wp-days time { font-size: 12px; font-weight: bold; }
.wp-days p { margin: 0; font-size: 12px; line-height: 1.6; }
.wp-meter { display: grid; grid-template-columns: 24px 65px minmax(0,1fr) 32px; gap: 8px; align-items: center; margin: 17px 0; font-size: 12px; }
.wp-meter > span { font-size: 25px; color: var(--wp-color); }
.wp-meter meter { appearance: none; width: 100%; min-width: 0; height: 10px; border: 0; border-radius: 9px; background: #e6edf8; overflow: hidden; }
.wp-meter meter::-webkit-meter-bar { background: #e6edf8; border: 0; height: 10px; }
.wp-meter meter::-webkit-meter-optimum-value { background: var(--wp-color); border-radius: 9px; }
.wp-meter meter::-moz-meter-bar { background: var(--wp-color); }
#profile-preview #weekly-profile-sidebar h2 { font-size: 17px; }
.wp-theme { display: flex; align-items: center; gap: 10px; padding: 12px; background: #f5edff; border-radius: 7px; font-size: 13px; line-height: 1.6; }
.wp-theme > span { font-size: 27px; color: #ff2d7b; }
.wp-favourable, .wp-challenging { padding-left: 12px; border-left: 3px solid #00b274; }
.wp-challenging { border-color: #f52f78; margin-top: 15px; }
.wp-favourable p, .wp-challenging p { font-size: 12px; margin: 0; }
.wp-events { list-style: none; padding: 0; margin: 0; }
.wp-events li { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #e7eef9; padding: 10px 0; font-size: 12px; }
.wp-events li:last-child { border: 0; }
.wp-events li > span { font-size: 25px; color: #8739d6; }
.wp-events p { margin: 5px 0 0; color: #53698b; font-size: 11px; }
.wp-pairs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.wp-pairs a { text-decoration: none; font-size: 11px; text-align: center; overflow-wrap: anywhere; }
.wp-pairs img { display: block; width: 56px; height: 56px; margin: 0 auto 9px; }
.wp-forecast { display: flex; flex-direction: column; flex: 1; overflow: hidden; background: linear-gradient(#f0e5ff,#faf7ff); }
.wp-forecast blockquote { font-size: 15px; font-style: italic; text-align: center; line-height: 1.7; margin: 10px 0; }
.wp-sign { display: block; margin: 15px auto 24px; }
.wp-landscape { display: block; width: calc(100% + 36px); max-width: none; height: 125px; object-fit: cover; object-position: 20% center; margin: auto -18px -18px; }
@media(max-width:1200px) {
  .wp-lead, .wp-bottom { grid-template-columns: minmax(0,1fr); }
  .wp-domains { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:800px) {
  #profile-preview.weekly-profile-active .pr-layout { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:420px) {
  .wp-panel { padding: 14px; }
  .wp-domains { grid-template-columns: minmax(0,1fr); }
  .wp-days li { grid-template-columns: 28px 40px minmax(0,1fr); gap: 6px; }
  .wp-meter { grid-template-columns: 20px 57px minmax(0,1fr) 30px; gap: 5px; font-size: 11px; }
  .wp-landscape { width: calc(100% + 28px); margin-left: -14px; margin-right: -14px; margin-bottom: -14px; }
}
