/* HR member portal - the plum of the homepage's Guided Month section.
   Ground #1A1022, card #221530, plum #7E3B66, lilac glass, champagne #F2D488.
   hr-custom-css sets many colours with !important, so the scoped rules below
   carry the extra body class weight and !important where they must win. */

body.hr-portal,
html body.hr-portal .site-content,
html body.hr-portal #content,
html body.hr-portal .ast-container,
html body.hr-portal #primary,
html body.hr-portal .ast-article-single,
html body.hr-portal .ast-article-post,
html body.hr-portal .entry-content {
  background: #1A1022 !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
}
html body.hr-portal .entry-header,
html body.hr-portal .ast-breadcrumbs-wrapper { display: none !important; }
html body.hr-portal .site-content > .ast-container { max-width: 1240px; }
html body.hr-portal #primary { margin-top: 0 !important; padding-top: 0 !important; }

.hr-mp {
  --mp-ground: #1A1022; --mp-card: #221530; --mp-card-h: #2A1A3B;
  --mp-plum: #7E3B66; --mp-plum-h: #93477A;
  --mp-line: rgba(214,166,224,.16); --mp-line-h: rgba(242,212,136,.38);
  --mp-lilac: rgba(214,166,224,.22); --mp-gold: #F2D488; --mp-cream: #F2EFE4;
  --mp-text: rgba(233,240,230,.78); --mp-muted: rgba(233,240,230,.56);
  max-width: 1180px; margin: 0 auto; padding: 28px 0 64px;
  font-family: 'Jost', system-ui, -apple-system, sans-serif;
  color: var(--mp-text);
}

html body.hr-portal .hr-mp .hr-mp-eyebrow {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: #F2D488 !important; margin: 0 0 .55rem;
}
html body.hr-portal .hr-mp .hr-mp-h1 {
  font-family: 'Jost', system-ui, sans-serif !important; font-weight: 600 !important;
  font-size: clamp(28px, 4.2vw, 44px) !important; line-height: 1.08 !important;
  letter-spacing: -.015em !important; color: #F2EFE4 !important; margin: 0 !important;
}
.hr-mp .hr-mp-lede { margin: .8rem 0 0; font-size: 1.05rem; color: rgba(233,240,230,.8); max-width: 34rem; }

/* hero */
.hr-mp-hero {
  position: relative; min-height: 360px; border-radius: 24px; overflow: hidden;
  display: flex; align-items: flex-end; background: #1A1022 center / cover no-repeat;
  border: 1px solid var(--mp-line);
}
.hr-mp-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(26,16,34,.97) 0%, rgba(26,16,34,.82) 36%, rgba(26,16,34,.2) 72%, rgba(26,16,34,.05) 100%),
    linear-gradient(0deg, rgba(26,16,34,.85) 0%, rgba(26,16,34,0) 50%);
}
.hr-mp-hero-text { position: relative; padding: 2.6rem 2.8rem; max-width: 620px; }

/* status */
.hr-mp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.hr-mp-stat {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1.3rem 1.3rem;
  background: linear-gradient(180deg, #25173A 0%, #1F1330 100%);
  border: 1px solid var(--mp-line); border-radius: 18px;
}
html body.hr-portal .hr-mp .hr-mp-stat-k { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #F2D488 !important; }
html body.hr-portal .hr-mp .hr-mp-stat-v { font-size: 1.75rem; font-weight: 600; line-height: 1.1; color: #F2EFE4 !important; }
html body.hr-portal .hr-mp .hr-mp-stat-s { font-size: .9rem; line-height: 1.45; color: rgba(233,240,230,.6) !important; }
html body.hr-portal .hr-mp .hr-mp-stat-s a { color: #F2D488 !important; text-decoration: underline; text-underline-offset: 2px; }
.hr-mp-bar { display: block; height: 6px; margin-top: .45rem; border-radius: 99px; background: rgba(214,166,224,.16); overflow: hidden; }
.hr-mp-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7E3B66, #F2D488); }

/* section headings */
html body.hr-portal .hr-mp .hr-mp-h2 {
  font-family: 'Jost', system-ui, sans-serif !important; font-weight: 600 !important;
  font-size: 1.55rem !important; line-height: 1.2 !important; color: #F2EFE4 !important;
  margin: 2.8rem 0 1.1rem !important; letter-spacing: -.01em !important;
}
html body.hr-portal .hr-mp .hr-mp-h3 {
  font-family: 'Jost', system-ui, sans-serif !important; font-weight: 600 !important;
  font-size: 1.1rem !important; color: #F2EFE4 !important; margin: 0 0 .9rem !important;
}

/* cards */
.hr-mp-grid { display: grid; gap: 18px; }
.hr-mp-weeks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hr-mp-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hr-mp-recipes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body.hr-portal a.hr-mp-card,
html body a.hr-mp-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none !important;
  background: #221530; border: 1px solid rgba(214,166,224,.16); border-radius: 18px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
html body a.hr-mp-card:hover,
html body a.hr-mp-card:focus-visible {
  transform: translateY(-3px); border-color: rgba(242,212,136,.38);
  box-shadow: 0 18px 40px rgba(0,0,0,.42); outline: none;
}
.hr-mp-card-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #2A1A3B; }
.hr-mp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
a.hr-mp-card:hover .hr-mp-card-img img { transform: scale(1.04); }
.hr-mp-card.is-locked .hr-mp-card-img img { filter: grayscale(.45) brightness(.55); }
.hr-mp-card-b { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.15rem 1.2rem; }
html body .hr-mp .hr-mp-card-t { font-size: 1.05rem; font-weight: 600; line-height: 1.25; color: #F2EFE4 !important; }
html body .hr-mp .hr-mp-card-p { font-size: .9rem; line-height: 1.45; color: rgba(233,240,230,.6) !important; }

.hr-mp-chip {
  position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: 99px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; color: #F2EFE4;
  background: rgba(26,16,34,.72); border: 1px solid rgba(214,166,224,.3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hr-mp-chip.is-open { border-color: rgba(191,230,198,.45); color: #D6F0DA; }
.hr-mp-chip.is-now { background: #F2D488; color: #1A1022; border-color: #F2D488; }
.hr-mp-chip.is-locked { color: rgba(233,240,230,.75); }

/* buttons + pills */
html body .hr-mp a.hr-mp-btn,
html body a.hr-mp-btn {
  display: inline-flex; align-items: center; gap: .4rem; padding: .78rem 1.35rem;
  border-radius: 999px; background: #7E3B66; color: #FFF6EE !important;
  font-weight: 600; font-size: .95rem; text-decoration: none !important;
  border: 1px solid #7E3B66; transition: background .18s ease, border-color .18s ease;
}
html body a.hr-mp-btn:hover { background: #93477A; border-color: #93477A; }
html body a.hr-mp-btn.hr-mp-btn-ghost { background: transparent; border-color: rgba(214,166,224,.3); color: #F2EFE4 !important; }
html body a.hr-mp-btn.hr-mp-btn-ghost:hover { border-color: rgba(242,212,136,.5); background: rgba(214,166,224,.08); }
html body a.hr-mp-btn.hr-mp-btn-sm { padding: .5rem .95rem; font-size: .85rem; margin-top: .4rem; align-self: flex-start; }

.hr-mp-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 2.8rem; }
.hr-mp-panel { padding: 1.4rem 1.5rem 1.5rem; background: #221530; border: 1px solid rgba(214,166,224,.16); border-radius: 18px; }
.hr-mp-pills { display: flex; flex-wrap: wrap; gap: 9px; }
html body .hr-mp a.hr-mp-pill {
  padding: .5rem .95rem; border-radius: 999px; font-size: .88rem; font-weight: 500;
  color: #F2EFE4 !important; text-decoration: none !important;
  background: rgba(214,166,224,.07); border: 1px solid rgba(214,166,224,.2);
  transition: background .18s ease, border-color .18s ease;
}
html body .hr-mp a.hr-mp-pill:hover { background: #7E3B66; border-color: #7E3B66; }

/* member pages */
.hr-mp-crumb { font-size: .85rem; color: rgba(233,240,230,.5); margin: 0 0 1rem; }
html body .hr-mp .hr-mp-crumb a { color: #F2D488 !important; text-decoration: none; }
html body .hr-mp .hr-mp-crumb a:hover { text-decoration: underline; }
.hr-mp-head {
  position: relative; min-height: 320px; border-radius: 24px; overflow: hidden;
  display: flex; align-items: flex-end; background: #221530; border: 1px solid rgba(214,166,224,.16);
}
.hr-mp-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hr-mp-head::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,16,34,.96) 0%, rgba(26,16,34,.55) 45%, rgba(26,16,34,.08) 100%);
}
.hr-mp-head-text { position: relative; z-index: 1; padding: 2.2rem 2.4rem; max-width: 760px; }

.hr-mp-content { max-width: 760px; margin: 2.4rem auto 0; font-size: 1.06rem; line-height: 1.75; }
html body.hr-portal .hr-mp .hr-mp-content,
html body.hr-portal .hr-mp .hr-mp-content p,
html body.hr-portal .hr-mp .hr-mp-content li,
html body.hr-portal .hr-mp .hr-mp-content td { color: rgba(233,240,230,.8) !important; }
html body.hr-portal .hr-mp .hr-mp-content h2,
html body.hr-portal .hr-mp .hr-mp-content h3,
html body.hr-portal .hr-mp .hr-mp-content h4 {
  font-family: 'Jost', system-ui, sans-serif !important; font-weight: 600 !important;
  color: #F2EFE4 !important; letter-spacing: -.01em; line-height: 1.25 !important;
}
html body.hr-portal .hr-mp .hr-mp-content h2 { font-size: 1.5rem !important; margin: 2.2rem 0 .8rem !important; }
html body.hr-portal .hr-mp .hr-mp-content h3 { font-size: 1.2rem !important; margin: 1.8rem 0 .6rem !important; }
html body.hr-portal .hr-mp .hr-mp-content strong { color: #F2EFE4 !important; }
html body.hr-portal .hr-mp .hr-mp-content a:not(.hr-mp-card):not(.hr-mp-btn) { color: #F2D488 !important; text-decoration: underline; text-underline-offset: 3px; }
html body.hr-portal .hr-mp .hr-mp-content ul li::marker { color: #F2D488; }
html body.hr-portal .hr-mp .hr-mp-content hr { border: 0; height: 1px; background: rgba(214,166,224,.2); margin: 2rem 0; }
html body.hr-portal .hr-mp .hr-mp-content table { border-collapse: collapse; width: 100%; }
html body.hr-portal .hr-mp .hr-mp-content th,
html body.hr-portal .hr-mp .hr-mp-content td { border-bottom: 1px solid rgba(214,166,224,.16); padding: .6rem .5rem; text-align: left; }
html body.hr-portal .hr-mp .hr-mp-content .hr-mp-grid { margin: 1.6rem 0; }
.hr-mp-page .hr-mp-content .hr-mp-recipes { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hr-mp-foot { max-width: 760px; margin: 2.8rem auto 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hr-mp-foot-r { display: flex; gap: 10px; flex-wrap: wrap; }

/* notices inside the portal, in plum rather than the site's green */
html body.hr-portal .wc-memberships-restriction-message,
html body.hr-portal .woocommerce-info.wc-memberships-message {
  background: #221530 !important; border: 1px solid rgba(214,166,224,.2) !important;
  border-left: 3px solid #F2D488 !important; color: rgba(233,240,230,.85) !important;
  border-radius: 14px !important; box-shadow: none !important;
}
html body.hr-portal .wc-memberships-restriction-message a { color: #F2D488 !important; }

/* account page card */
html body a.hr-mp-acct {
  position: relative; display: flex; flex-direction: column; gap: .35rem; overflow: hidden;
  margin: 0 0 1.8rem; padding: 1.8rem 1.9rem; min-height: 170px; justify-content: flex-end;
  border-radius: 20px; text-decoration: none !important; border: 1px solid rgba(214,166,224,.2);
  background: #1A1022 center / cover no-repeat;
}
html body a.hr-mp-acct::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,16,34,.96) 0%, rgba(26,16,34,.8) 45%, rgba(26,16,34,.25) 100%);
}
html body a.hr-mp-acct > * { position: relative; }
html body a.hr-mp-acct .hr-mp-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #F2D488 !important; }
html body a.hr-mp-acct .hr-mp-acct-t { font-family: 'Jost', system-ui, sans-serif; font-size: 1.45rem; font-weight: 600; color: #F2EFE4 !important; line-height: 1.2; }
html body a.hr-mp-acct .hr-mp-acct-go { margin-top: .5rem; align-self: flex-start; padding: .55rem 1.1rem; border-radius: 999px; background: #7E3B66; color: #FFF6EE !important; font-weight: 600; font-size: .9rem; }
html body a.hr-mp-acct:hover .hr-mp-acct-go { background: #93477A; }

/* responsive */
@media (max-width: 980px) {
  .hr-mp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr-mp-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr-mp-benefits, .hr-mp-recipes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr-mp-panels { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hr-mp { padding: 16px 0 48px; }
  .hr-mp-hero { min-height: 420px; border-radius: 18px; background-position: 70% center; }
  .hr-mp-hero::before { background: linear-gradient(0deg, rgba(26,16,34,.98) 0%, rgba(26,16,34,.82) 48%, rgba(26,16,34,.2) 100%); }
  .hr-mp-hero-text { padding: 1.6rem 1.4rem; }
  .hr-mp-stats { gap: 10px; }
  .hr-mp-stat { padding: 1rem 1rem 1.05rem; border-radius: 16px; }
  html body.hr-portal .hr-mp .hr-mp-stat-v { font-size: 1.35rem; }
  .hr-mp-grid { gap: 12px; }
  .hr-mp-benefits, .hr-mp-recipes, .hr-mp-page .hr-mp-content .hr-mp-recipes { grid-template-columns: 1fr; }
  .hr-mp-head { min-height: 260px; border-radius: 18px; }
  .hr-mp-head-text { padding: 1.5rem 1.4rem; }
  .hr-mp-content { margin-top: 1.8rem; font-size: 1.02rem; }
  .hr-mp-panel { padding: 1.2rem; }
}
@media (max-width: 380px) {
  .hr-mp-weeks { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  a.hr-mp-card, .hr-mp-card-img img { transition: none; }
  a.hr-mp-card:hover { transform: none; }
  a.hr-mp-card:hover .hr-mp-card-img img { transform: none; }
}

/* hr-custom-css forces every .entry-content link gold with
   body:not(.elementor-page) .entry-content a:not(.button):not(.btn) - four classes of
   weight. Buttons and pills need cream text, so these carry one more. */
html body.hr-portal .entry-content .hr-mp a.hr-mp-btn { color: #FFF6EE !important; }
html body.hr-portal .entry-content .hr-mp a.hr-mp-btn.hr-mp-btn-ghost,
html body.hr-portal .entry-content .hr-mp a.hr-mp-pill { color: #F2EFE4 !important; }

/* The reassurance strip hr-member-reassure.php puts at the foot of every member page,
   brought into the portal's language (on the dashboard it sits after the layout). */
html body.hr-portal aside.hr-mr {
  max-width: 1180px; margin: 2.6rem auto 0 !important; padding: 1.35rem 1.6rem !important;
  background: linear-gradient(135deg, #25173A 0%, #1F1330 100%) !important;
  border: 1px solid rgba(214,166,224,.2) !important; border-left: 3px solid #F2D488 !important;
  border-radius: 18px !important; box-shadow: none !important;
}
html body.hr-portal .hr-mp-content aside.hr-mr { max-width: none; }
html body.hr-portal aside.hr-mr .hr-mr-eyebrow { color: #F2D488 !important; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin: 0 0 .5rem; }
html body.hr-portal aside.hr-mr .hr-mr-line { color: rgba(233,240,230,.8) !important; margin: 0 0 .5rem; }
html body.hr-portal aside.hr-mr .hr-mr-line strong { color: #F2EFE4 !important; }
html body.hr-portal aside.hr-mr .hr-mr-link { margin: 0; }

/* The daily tracker's floating button, in plum on portal pages. */
html body.hr-portal a.hrt-fab {
  background: #7E3B66 !important; color: #FFF6EE !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(242,212,136,.4) !important;
}
html body.hr-portal a.hrt-fab:hover { background: #93477A !important; }
/* Astra caps direct children of .entry-content at its 726px reading width, which would
   squeeze the whole portal. The portal and the strip after it share one wider column;
   reading pages keep their own 760px text measure inside it (.hr-mp-content). */
html body.hr-portal .entry-content > .hr-mp,
html body.hr-portal .entry-content > aside.hr-mr {
  max-width: 1180px !important; width: 100%; margin-left: auto !important; margin-right: auto !important;
}
/* The start-my-month chooser (hr-guided-month.php markup), in plum. */
html body.hr-portal .hr-gm .hr-gm-eyebrow { color: #F2D488 !important; font-size: 11px !important; letter-spacing: .22em !important; text-transform: uppercase; font-weight: 600 !important; }
html body.hr-portal .hr-gm button.hr-gm-choice {
  background: #221530 !important; border: 1px solid rgba(214,166,224,.2) !important;
  border-radius: 16px !important; box-shadow: none !important; text-align: left;
  transition: border-color .18s ease, background .18s ease;
}
html body.hr-portal .hr-gm button.hr-gm-choice:hover,
html body.hr-portal .hr-gm button.hr-gm-choice:focus-visible {
  background: #2A1A3B !important; border-color: rgba(242,212,136,.5) !important; outline: none;
}
html body.hr-portal .hr-gm button.hr-gm-choice b { color: #F2EFE4 !important; }
html body.hr-portal .hr-gm button.hr-gm-choice span { color: rgba(233,240,230,.6) !important; }
html body.hr-portal .hr-gm .hr-gm-credit {
  background: #221530 !important; border: 1px solid rgba(214,166,224,.2) !important;
  border-left: 3px solid #F2D488 !important; border-radius: 14px !important;
}
html body.hr-portal .hr-gm .hr-gm-credit b { color: #F2EFE4 !important; }
/* Daily tracker: its sticky save bar faded to white (built for a light page), and the
   save button was the site orange. Both in plum here. */
html body.hr-portal form.hrt .hrt-actions { background-image: linear-gradient(to top, #1A1022 70%, rgba(26,16,34,0)) !important; background-color: transparent !important; }
html body.hr-portal form.hrt button.hrt-save { background: #7E3B66 !important; color: #FFF6EE !important; border-color: #7E3B66 !important; border-radius: 999px !important; }
html body.hr-portal form.hrt button.hrt-save:hover { background: #93477A !important; border-color: #93477A !important; }
/* ===== Daily tracker form: plum, with emoji scales ===== */
html body.hr-portal form.hrt .hrt-card { background: #221530 !important; border: 1px solid rgba(214,166,224,.16) !important; border-radius: 16px !important; padding: 18px !important; }
html body.hr-portal form.hrt .hrt-label { display: flex !important; align-items: center; gap: .5rem; color: #F2EFE4 !important; font-weight: 600; }
html body.hr-portal form.hrt .hrt-ico { font-size: 1.2rem; line-height: 1; }
html body.hr-portal form.hrt .hrt-dot span {
  flex-direction: column; gap: 3px; min-height: 66px !important; color: #F2EFE4;
  background: rgba(214,166,224,.05); border: 1px solid rgba(214,166,224,.2) !important; border-radius: 14px !important;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
html body.hr-portal form.hrt .hrt-emo { font-size: 1.65rem; line-height: 1; font-weight: 400; font-style: normal; }
html body.hr-portal form.hrt .hrt-n { font-size: .72rem; font-style: normal; color: rgba(233,240,230,.55); }
html body.hr-portal form.hrt .hrt-dot:hover span { border-color: rgba(242,212,136,.45) !important; }
html body.hr-portal form.hrt .hrt-dot.is-on span,
html body.hr-portal form.hrt .hrt-dot input:checked + span {
  background: #7E3B66 !important; border-color: #F2D488 !important; color: #FFF6EE !important;
  transform: scale(1.07); box-shadow: 0 0 0 1px #F2D488 inset;
}
html body.hr-portal form.hrt .hrt-dot.is-on .hrt-n,
html body.hr-portal form.hrt .hrt-dot input:checked + span .hrt-n { color: #F2D488; }
html body.hr-portal form.hrt .hrt-dot input:focus-visible + span { outline: 2px solid #F2D488 !important; outline-offset: 2px; }
html body.hr-portal form.hrt .hrt-ends { color: rgba(233,240,230,.55) !important; }
html body.hr-portal form.hrt .hrt-check,
html body.hr-portal form.hrt .hrt-pill span { border-color: rgba(214,166,224,.25) !important; background: rgba(214,166,224,.05); color: #F2EFE4; }
html body.hr-portal form.hrt .hrt-check input { accent-color: #7E3B66; }
html body.hr-portal form.hrt .hrt-pill.is-on span,
html body.hr-portal form.hrt .hrt-pill input:checked + span { background: #7E3B66 !important; border-color: #7E3B66 !important; color: #FFF6EE !important; }
html body.hr-portal form.hrt input[type=text],
html body.hr-portal form.hrt input[type=number],
html body.hr-portal form.hrt textarea,
html body.hr-portal form.hrt select { background: rgba(255,255,255,.04) !important; border-color: rgba(214,166,224,.22) !important; color: #F2EFE4 !important; }
html body.hr-portal form.hrt select option { background: #221530; color: #F2EFE4; }
html body.hr-portal form.hrt .hrt-photo-add span,
html body.hr-portal form.hrt .hrt-add,
html body.hr-portal form.hrt .hrt-photo-del,
html body.hr-portal form.hrt .hrt-del { border-color: rgba(214,166,224,.35) !important; color: #F2EFE4 !important; background: transparent !important; }
html body.hr-portal .hr-mp .hr-mp-content form.hrt p.hrt-hint,
html body.hr-portal .hr-mp .hr-mp-content form.hrt p.hrt-privacy,
html body.hr-portal .hr-mp .hr-mp-content form.hrt p.hrt-date { color: rgba(233,240,230,.58) !important; }

/* ===== Tracker report ===== */
html body .hrr { max-width: 980px; margin: 3.2rem auto 0; font-family: 'Jost', system-ui, sans-serif; }
html body.hr-portal .hr-mp .hr-mp-content .hrr h2.hrr-h { font-size: 1.7rem !important; margin: .25rem 0 .45rem !important; color: #F2EFE4 !important; }
html body.hr-portal .hr-mp .hr-mp-content .hrr h3.hrr-h3 { font-size: 1.1rem !important; margin: 0 0 .85rem !important; color: #F2EFE4 !important; }
html body.hr-portal .hr-mp .hr-mp-content .hrr p.hrr-lede { margin: 0; color: rgba(233,240,230,.72) !important; max-width: 44rem; }
html body.hr-portal .hr-mp .hr-mp-content .hrr p.hrr-note,
html body.hr-portal .hr-mp .hr-mp-content .hrr p.hrr-none,
html body.hr-portal .hr-mp .hr-mp-content .hrr p.hrr-keys { color: rgba(233,240,230,.52) !important; font-size: .8rem; margin: .6rem 0 0; }
.hrr-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 1.5rem 0 1.2rem; }
.hrr-kpi { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.05rem; background: linear-gradient(180deg, #25173A 0%, #1F1330 100%); border: 1px solid rgba(214,166,224,.16); border-radius: 16px; }
.hrr-kpi-i { font-size: 1.35rem; line-height: 1; margin-bottom: .35rem; }
html body .hrr-kpi-v { font-size: 1.75rem; font-weight: 600; line-height: 1.1; color: #F2EFE4 !important; font-variant-numeric: tabular-nums; }
html body .hrr-kpi-l { font-size: .86rem; color: rgba(233,240,230,.82) !important; }
html body .hrr-kpi-s { font-size: .76rem; color: rgba(233,240,230,.5) !important; }
.hrr-range, .hrr-years, .hrr-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.hrr-range { margin: 0 0 1rem; }
.hrr-years { margin: 0 0 .8rem; }
.hrr-legend { margin: 0 0 .7rem; }
html body .hrr button.hrr-toggle,
html body .hrr button.hrr-more-btn,
html body .hrr .hrr-range button,
html body .hrr .hrr-years button,
html body .hrr .hrr-legend button {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 38px; padding: 0 .95rem !important;
  border-radius: 999px !important; border: 1px solid rgba(214,166,224,.25) !important;
  background: rgba(214,166,224,.05) !important; color: #F2EFE4 !important; font: 500 .86rem/1 'Jost', system-ui, sans-serif !important;
  cursor: pointer; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important;
  transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
}
html body .hrr .hrr-range button.is-on,
html body .hrr .hrr-years button.is-on { background: #7E3B66 !important; border-color: #7E3B66 !important; color: #FFF6EE !important; }
html body .hrr .hrr-legend button.is-off { opacity: .42; text-decoration: line-through; }
.hrr-legend i, .hrr-tip i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.hrr-card { padding: 1.25rem 1.35rem 1.35rem; margin: 0 0 16px; background: #221530; border: 1px solid rgba(214,166,224,.16); border-radius: 18px; }
.hrr-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hrr-chart { position: relative; min-height: 40px; }
.hrr-svg { display: block; overflow: visible; animation: hrr-in .45s ease both; touch-action: pan-y; }
@keyframes hrr-in { from { opacity: 0; } to { opacity: 1; } }
.hrr-grid line { stroke: rgba(214,166,224,.13); stroke-width: 1; }
.hrr-grid text { fill: rgba(233,240,230,.5); font-size: 11px; font-family: 'Jost', system-ui, sans-serif; }
.hrr-guide { stroke: rgba(242,212,136,.55); stroke-width: 1; stroke-dasharray: 3 3; }
.hrr-tip {
  position: absolute; top: 4px; z-index: 3; min-width: 160px; display: flex; flex-direction: column; gap: .22rem;
  padding: .6rem .75rem; border-radius: 12px; background: rgba(26,16,34,.97); border: 1px solid rgba(242,212,136,.35);
  color: #F2EFE4; font-size: .8rem; pointer-events: none; box-shadow: 0 10px 26px rgba(0,0,0,.45);
}
.hrr-tip b { font-weight: 600; color: #F2D488; }
.hrr-tip span { display: flex; align-items: center; gap: .4rem; }
.hrr-tip strong { margin-left: auto; padding-left: .6rem; }
.hrr-heat { overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.hrr-heat-svg { display: block; }
.hrr-heat-svg text { fill: rgba(233,240,230,.45); font-size: 9px; font-family: 'Jost', system-ui, sans-serif; }
.hrr-h0, .hrr-k0 { fill: rgba(214,166,224,.09); background: rgba(214,166,224,.09); }
.hrr-h1, .hrr-k1 { fill: #7E3B66; background: #7E3B66; }
.hrr-h2, .hrr-k2 { fill: #F2D488; background: #F2D488; }
.hrr-keys { display: flex; flex-wrap: wrap; gap: 14px; }
.hrr-keys span { display: inline-flex; align-items: center; gap: .4rem; }
.hrr-keys i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; }
.hrr-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
html body.hr-portal .hr-mp .hr-mp-content .hrr table.hrr-table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: .84rem; }
html body.hr-portal .hr-mp .hr-mp-content .hrr table.hrr-table th,
html body.hr-portal .hr-mp .hr-mp-content .hrr table.hrr-table td { padding: .6rem .5rem; white-space: nowrap; border-bottom: 1px solid rgba(214,166,224,.12); color: rgba(233,240,230,.82) !important; font-variant-numeric: tabular-nums; }
html body.hr-portal .hr-mp .hr-mp-content .hrr table.hrr-table thead th { font-size: .74rem; font-weight: 600; color: rgba(233,240,230,.55) !important; }
html body.hr-portal .hr-mp .hr-mp-content .hrr table.hrr-table tbody th { color: #F2EFE4 !important; font-weight: 600; }
.hrr-bar { display: inline-block; width: 38px; height: 5px; margin-right: 7px; vertical-align: middle; overflow: hidden; border-radius: 9px; background: rgba(214,166,224,.15); }
.hrr-bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #7E3B66, #F2D488); }
html body .hrr button.hrr-more-btn { margin-top: .8rem; }
.hrr-body-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html body.hr-portal .hr-mp .hr-mp-content .hrr .hrr-body-top h3.hrr-h3 { margin: 0 !important; }
.hrr-body-charts { margin-top: 1rem; }
.hrr-body-charts .hrr-chart + .hrr-chart { margin-top: 1.2rem; }
.hrr-empty { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; padding: 1.4rem 1.5rem; background: #221530; border: 1px dashed rgba(214,166,224,.3); border-radius: 18px; }
.hrr-empty span { font-size: 2rem; line-height: 1; }
html body.hr-portal .hr-mp .hr-mp-content .hrr .hrr-empty p { margin: 0; color: rgba(233,240,230,.75) !important; }

/* ===== Dashboard: Your tracker panel ===== */
.hrr-panel {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 1.3rem; align-items: center;
  margin-top: 18px; padding: 1.3rem 1.5rem; border-radius: 18px;
  background: linear-gradient(135deg, #2A1A3B 0%, #1F1330 100%); border: 1px solid rgba(214,166,224,.18);
}
.hrr-panel.is-empty { grid-template-columns: minmax(0, 1fr) auto; }
.hrr-panel-kpis { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: .5rem; }
.hrr-panel .hrr-kpi { padding: 0; background: none; border: 0; border-radius: 0; }
.hrr-panel .hrr-kpi-i { margin-bottom: .2rem; }
.hrr-panel .hrr-kpi-v { font-size: 1.5rem; }
.hrr-panel-spark { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
html body .hrr-panel-sl { font-size: .78rem; color: rgba(233,240,230,.55) !important; }
.hrr-spark { display: block; width: 100%; height: 56px; }
html body.hr-portal .hr-mp .hrr-panel p.hrr-panel-h { margin: .25rem 0 .3rem; font-size: 1.15rem; font-weight: 600; color: #F2EFE4 !important; }
html body.hr-portal .hr-mp .hrr-panel p.hrr-panel-p { margin: 0; font-size: .92rem; color: rgba(233,240,230,.62) !important; }

@media (max-width: 900px) {
  .hrr-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hrr-two { grid-template-columns: 1fr; gap: 0; }
  .hrr-panel, .hrr-panel.is-empty { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hrr-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hrr-card { padding: 1rem 1rem 1.1rem; }
  html body.hr-portal form.hrt .hrt-emo { font-size: 1.45rem; }
  html body.hr-portal form.hrt .hrt-dot span { min-height: 60px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hrr-svg { animation: none; }
  html body.hr-portal form.hrt .hrt-dot span { transition: none; }
  html body.hr-portal form.hrt .hrt-dot.is-on span, html body.hr-portal form.hrt .hrt-dot input:checked + span { transform: none; }
}
/* the tooltip sets display:flex, which would otherwise override [hidden] */
.hrr-tip[hidden] { display: none !important; }

/* the theme borders every table cell; the report wants one soft rule under each row */
html body.hr-portal .hr-mp .hr-mp-content .hrr table.hrr-table,
html body.hr-portal .hr-mp .hr-mp-content .hrr table.hrr-table th,
html body.hr-portal .hr-mp .hr-mp-content .hrr table.hrr-table td { border: 0 !important; }
html body.hr-portal .hr-mp .hr-mp-content .hrr table.hrr-table th,
html body.hr-portal .hr-mp .hr-mp-content .hrr table.hrr-table td { border-bottom: 1px solid rgba(214,166,224,.12) !important; background: transparent !important; }
.hrr-heat, .hrr-table-wrap { scrollbar-width: thin; scrollbar-color: rgba(214,166,224,.35) transparent; }
.hrr-heat::-webkit-scrollbar, .hrr-table-wrap::-webkit-scrollbar { height: 6px; }
.hrr-heat::-webkit-scrollbar-thumb, .hrr-table-wrap::-webkit-scrollbar-thumb { background: rgba(214,166,224,.35); border-radius: 9px; }
.hrr-heat::-webkit-scrollbar-track, .hrr-table-wrap::-webkit-scrollbar-track { background: transparent; }

/* ==== The six Guided Months: timeline, this-month card, month pages ==== */
/* The month-end celebration carries its own inline styles (hr_gmx_celebration_css). */
.hr-gmx { margin-top: .2rem; }
.hr-gmx-steps {
  list-style: none !important; margin: 0 !important; padding: 0 !important;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
}
.hr-gmx-steps li { position: relative; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.hr-gmx-steps li + li::before {
  content: ""; position: absolute; top: 35px; left: -12px; width: 12px; height: 2px;
  background: rgba(214,166,224,.22);
}
.hr-gmx-steps li.is-done + li::before { background: #F2D488; }
html body.hr-portal .hr-mp .hr-gmx .hr-gmx-step,
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-step {
  position: relative; display: flex; flex-direction: column; gap: .45rem; height: 100%; box-sizing: border-box;
  padding: 1rem 1rem 1.1rem; border-radius: 16px; text-decoration: none !important;
  background: linear-gradient(180deg, #25173A 0%, #1F1330 100%);
  border: 1px solid rgba(214,166,224,.16);
  transition: transform .2s ease;
}
/* Hover lift: the gold edge and shadow live on a pseudo-element whose opacity fades,
   so nothing repaints per frame. */
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-step::after,
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-now::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 1px solid rgba(242,212,136,.5); box-shadow: 0 16px 34px rgba(0,0,0,.38);
  opacity: 0; transition: opacity .2s ease;
}
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-step:hover,
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-step:focus-visible { transform: translateY(-2px); outline: none; }
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-step:hover::after,
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-step:focus-visible::after,
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-now:hover::after,
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-now:focus-visible::after { opacity: 1; }
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-step:focus-visible::after,
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-now:focus-visible::after { border-width: 2px; border-color: #F2D488; }
.hr-gmx-dot {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  font-size: 15px; font-weight: 600; line-height: 1;
  color: #F2EFE4; background: #2A1A3B; border: 1px solid rgba(214,166,224,.3);
}
.hr-gmx-steps .is-done .hr-gmx-dot { background: #F2D488; border-color: #F2D488; color: #1A1022; }
.hr-gmx-steps .is-now .hr-gmx-dot {
  background: #1A1022; border-color: #F2D488; color: #F2D488;
  box-shadow: 0 0 0 5px rgba(242,212,136,.16);
}
html body.hr-portal .hr-mp .hr-gmx .is-now .hr-gmx-step {
  background: linear-gradient(155deg, #7E3B66 0%, #4A2342 100%);
  border-color: rgba(242,212,136,.55); box-shadow: 0 16px 36px rgba(0,0,0,.38);
}
/* Months not open yet: the disc dims and the edge turns dashed; the text keeps full contrast. */
.hr-gmx-steps .is-next .hr-gmx-dot { opacity: .55; }
html body.hr-portal .hr-mp .hr-gmx .is-next .hr-gmx-step { border-style: dashed; border-color: rgba(214,166,224,.24); }
html body.hr-portal .hr-mp .hr-gmx .hr-gmx-st { font-size: .98rem; font-weight: 600; line-height: 1.2; color: #F2EFE4 !important; }
html body.hr-portal .hr-mp .hr-gmx .hr-gmx-st em { font-style: normal; font-weight: 500; color: #F2D488 !important; }
html body.hr-portal .hr-mp .hr-gmx .hr-gmx-ss { font-size: .86rem; line-height: 1.35; color: rgba(233,240,230,.62) !important; }
html body.hr-portal .hr-mp .hr-gmx .hr-gmx-past { margin: 1rem 0 0; color: rgba(233,240,230,.7) !important; }

/* this month */
html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-now {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 16px;
  border-radius: 20px; text-decoration: none !important;
  background: linear-gradient(135deg, #2A1A3B 0%, #221530 100%);
  border: 1px solid rgba(214,166,224,.18);
}
.hr-gmx-now-img { display: block; overflow: hidden; border-radius: 19px 0 0 19px; background: #2A1A3B; }
.hr-gmx-now-img img { display: block; width: 100%; height: 100%; min-height: 230px; object-fit: cover; transition: transform .5s ease; }
.hr-gmx-now:hover .hr-gmx-now-img img { transform: scale(1.03); }
.hr-gmx-now-b { display: flex; flex-direction: column; justify-content: center; gap: .5rem; padding: 1.7rem 1.9rem; }
html body.hr-portal .hr-mp .hr-gmx .hr-gmx-now-t { font-size: 1.4rem; font-weight: 600; line-height: 1.2; color: #F2EFE4 !important; }
html body.hr-portal .hr-mp .hr-gmx .hr-gmx-now-p { font-size: 1rem; line-height: 1.55; color: rgba(233,240,230,.72) !important; }
.hr-gmx-now .hr-gmx-now-go {
  align-self: flex-start; margin-top: .5rem; display: inline-flex; align-items: center; gap: .4rem;
  padding: .72rem 1.3rem; border-radius: 999px; background: #7E3B66; border: 1px solid #7E3B66;
  color: #FFF6EE !important; font-weight: 600; font-size: .95rem;
}
.hr-gmx-now:hover .hr-gmx-now-go { background: #93477A; border-color: #93477A; }

/* month pages */
html body.hr-portal .hr-mp .hr-mp-content .hr-gmx-lede {
  font-size: 1.22rem; line-height: 1.6; color: #F2EFE4 !important;
  padding-bottom: 1.4rem; margin-bottom: .6rem; border-bottom: 1px solid rgba(214,166,224,.18);
}
html body.hr-portal .hr-mp .hr-mp-content ul.hr-gmx-weeks {
  list-style: none !important; margin: 1.2rem 0 !important; padding: 0 !important;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: hrw;
}
html body.hr-portal .hr-mp .hr-mp-content ul.hr-gmx-weeks li {
  position: relative; margin: 0 !important; padding: 1.05rem 1.1rem 1.1rem 3.6rem; list-style: none !important;
  background: #221530; border: 1px solid rgba(214,166,224,.16); border-radius: 16px;
  font-size: .98rem; line-height: 1.55; counter-increment: hrw;
}
html body.hr-portal .hr-mp .hr-mp-content ul.hr-gmx-weeks li::before {
  content: counter(hrw); position: absolute; left: 1rem; top: 1rem;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 14px; font-weight: 600; color: #1A1022; background: #F2D488;
}
html body.hr-portal .hr-mp .hr-mp-content aside.hr-gmx-note {
  margin: 1.6rem 0; padding: 1.1rem 1.3rem; border-radius: 16px;
  background: linear-gradient(135deg, rgba(126,59,102,.45) 0%, rgba(34,21,48,.9) 100%);
  border: 1px solid rgba(242,212,136,.35);
}
html body.hr-portal .hr-mp .hr-mp-content aside.hr-gmx-note p { margin: 0 !important; color: #F2EFE4 !important; }
html body.hr-portal .hr-mp .hr-mp-content aside.hr-gmx-note p.hr-gmx-note-k {
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: #F2D488 !important; margin: 0 0 .35rem !important;
}

@media (max-width: 980px) {
  .hr-gmx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hr-gmx-steps li + li::before { display: none; }
}
@media (max-width: 700px) {
  html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-now { grid-template-columns: 1fr; }
  .hr-gmx-now-img { border-radius: 19px 19px 0 0; }
  .hr-gmx-now-img img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .hr-gmx-now-b { padding: 1.3rem 1.3rem 1.5rem; }
  html body.hr-portal .hr-mp .hr-mp-content ul.hr-gmx-weeks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hr-gmx-steps { grid-template-columns: 1fr; gap: 8px; }
  .hr-gmx-steps li + li::before { display: block; top: -8px; left: calc(.9rem + 18px); width: 2px; height: 8px; }
  html body.hr-portal .hr-mp .hr-gmx .hr-gmx-step,
  html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-step {
    display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; row-gap: 1px;
    align-items: center; padding: .75rem .9rem;
  }
  .hr-gmx-dot { grid-row: 1 / span 2; }
}
@media (prefers-reduced-motion: reduce) {
  .hr-gmx-now-img img, html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-step,
  html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-step::after,
  html body.hr-portal .hr-mp .hr-gmx a.hr-gmx-now::after { transition: none; }
}

/* recipe pages: the serves / time line and numbered steps */
html body.hr-portal .hr-mp .hr-mp-content p.hr-rc-meta { font-size: .9rem; letter-spacing: .01em; color: rgba(233,240,230,.6) !important; margin: -.4rem 0 1.4rem !important; }
html body.hr-portal .hr-mp .hr-mp-content ol { padding-left: 1.4rem; }
html body.hr-portal .hr-mp .hr-mp-content ol li { margin: 0 0 .7rem; padding-left: .3rem; }
html body.hr-portal .hr-mp .hr-mp-content ol li::marker { color: #F2D488; font-weight: 600; }
