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

.mp-chart{display:block;width:100%;height:auto;border:1px solid #e2eaf7;border-radius:8px;background:linear-gradient(white,#fcf9ff)}
.mp-chart-labels{display:flex;justify-content:space-between;gap:4px;font-size:11px;font-weight:bold;margin:8px 0 18px}
.mp-periods,.mp-tips{list-style:none;padding:0;margin:0}.mp-periods li{display:flex;align-items:center;gap:9px;border-top:1px solid #e7eef9;padding:10px 0}.mp-periods p{margin:0;font-size:12px;line-height:1.6}.mp-periods span{color:#9438f3;font-size:22px}.mp-tips li{position:relative;padding:6px 0 6px 23px;font-size:13px;line-height:1.6}.mp-tips li:before{content:"✓";position:absolute;left:0;color:#9438f3;font-weight:bold}.mp-lead>img{object-position:left center}#profile-preview .mp-favourable h3,#profile-preview .mp-challenging h3{font-size:14px;margin-bottom:6px}
