/* Lumiere Magazine v21 — LY comparison strips and approved compact Overall Performance card.
   Limited to existing magazine components. Does not affect other service page layouts. */
.atlas-screen.atlas-reference-v4 .atlas-ranking-top .atlas-podium{
  height:auto!important;min-height:164px!important;
  grid-template-rows:minmax(92px,auto) auto!important;
  row-gap:5px!important;align-items:center;
  overflow:visible!important;padding-bottom:9px!important;
}
.atlas-screen.atlas-reference-v4 .atlas-ranking-top .atlas-podium .lm21-yoy{
  grid-column:1/-1;grid-row:2;min-width:0;width:100%;
}
.atlas-screen.atlas-reference-v4 .lm21-yoy{
  --lm21-green:#0b813b;--lm21-greenbg:#e5f7e8;
  --lm21-red:#c92845;--lm21-redbg:#ffebef;
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;
  gap:7px;align-items:center;font-family:Arial,'Segoe UI',sans-serif;
  padding:6px 8px;min-height:35px;max-width:100%;
  border-radius:13px;border:1px solid #e8d6dd;
  background:linear-gradient(110deg,#fff8fb,#f7eef8);
  color:#34204b;font-size:11px;font-style:normal;font-weight:700;
  box-sizing:border-box;
}
.atlas-screen.atlas-reference-v4 .lm21-yoy-title{display:flex;align-items:center;gap:5px;min-width:0;color:#42304f;line-height:1.08;white-space:normal;font-size:11px;font-weight:750}
.atlas-screen.atlas-reference-v4 .lm21-yoy-calendar{display:inline-flex;align-items:center;justify-content:center;color:#805080;font-size:18px;line-height:1;font-weight:650;flex:none}
.atlas-screen.atlas-reference-v4 .lm21-yoy-percent{display:inline-block;white-space:nowrap;text-align:center;padding:5px 8px;border-radius:13px;background:#f4eef2;color:#52415a;font-weight:800;font-size:13px;line-height:1.1;letter-spacing:0}
.atlas-screen.atlas-reference-v4 .lm21-yoy-money{display:inline-block;white-space:nowrap;font-weight:850;font-size:13px;color:#52415a;text-align:right;line-height:1.1}
.atlas-screen.atlas-reference-v4 .lm21-yoy-up{background:linear-gradient(98deg,#fffdf9,#eaf8ed);border-color:#d1ead7}
.atlas-screen.atlas-reference-v4 .lm21-yoy-up .lm21-yoy-percent{color:var(--lm21-green);background:var(--lm21-greenbg)}
.atlas-screen.atlas-reference-v4 .lm21-yoy-up .lm21-yoy-money{color:var(--lm21-green)}
.atlas-screen.atlas-reference-v4 .lm21-yoy-down{background:linear-gradient(98deg,#fffdf9,#fff0f3);border-color:#f0d9de}
.atlas-screen.atlas-reference-v4 .lm21-yoy-down .lm21-yoy-percent{color:var(--lm21-red);background:var(--lm21-redbg)}
.atlas-screen.atlas-reference-v4 .lm21-yoy-down .lm21-yoy-money{color:var(--lm21-red)}
.atlas-screen.atlas-reference-v4 .lm21-yoy-flat .lm21-yoy-money{color:#57536b}
.atlas-screen.atlas-reference-v4 .lm21-yoy-none .lm21-yoy-percent,.atlas-screen.atlas-reference-v4 .lm21-yoy-none .lm21-yoy-money{color:#716d82;background:#f7f4f6}
/* The Overall card keeps the current layout and real achievement ring, now with a LY bar beneath it. */
.atlas-screen.atlas-reference-v4 .atlas-stage-premium{height:clamp(448px,29vw,538px)!important}
.atlas-screen.atlas-reference-v4 .atlas-left-rail{grid-template-rows:minmax(211px,46%) minmax(0,1fr)!important}
.atlas-screen.atlas-reference-v4 .atlas-summary-premium.lm21-overall-card{
  display:flex!important;flex-direction:column!important;justify-content:space-between;
  gap:2px!important;padding:11px 13px 10px!important;
  background:linear-gradient(128deg,#fffdf9 0%,#fffcf8 55%,#f9edf5 100%)!important;
  border:1px solid #e9d9d4!important;box-shadow:0 3px 8px #39234016!important;
}
.atlas-screen.atlas-reference-v4 .atlas-summary-premium.lm21-overall-card:after{background:linear-gradient(45deg,transparent 48%,#f8e8ef 49%,#edd9e8 100%);opacity:.65}
.atlas-screen.atlas-reference-v4 .lm21-overall-card h2{color:#071047!important;font-size:18px!important;line-height:1.15!important}
.atlas-screen.atlas-reference-v4 .lm21-overall-card .atlas-section-symbol{color:#086af0!important}
.atlas-screen.atlas-reference-v4 .lm21-overall-card .atlas-summary-context{font-size:10px!important;margin-top:3px!important;margin-bottom:1px!important;color:#617091!important}
.atlas-screen.atlas-reference-v4 .lm21-overall-card .atlas-summary-main{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 37%;margin:2px 0 3px!important}
.atlas-screen.atlas-reference-v4 .lm21-overall-card .atlas-summary-copy>small{font-size:12px;color:#111a52}
.atlas-screen.atlas-reference-v4 .lm21-overall-card .atlas-total{font-size:clamp(30px,2.45vw,44px)!important;line-height:1.02!important;color:#080d49!important}
.atlas-screen.atlas-reference-v4 .lm21-overall-card .atlas-total em{font-size:13px!important}
.atlas-screen.atlas-reference-v4 .lm21-overall-card .atlas-target-caption{font-size:11px!important;padding:4px 7px!important;margin-top:5px!important;background:#f2e5f3!important;color:#55275d!important}
.atlas-screen.atlas-reference-v4 .lm21-overall-card .atlas-achievement-ring{width:100%;max-width:105px!important;padding:10px!important;background:conic-gradient(from 0deg,var(--ach-color) 0deg,var(--ach-color) var(--ach-deg),#dfe8f8 0)!important}
.atlas-screen.atlas-reference-v4 .lm21-overall-card .atlas-achievement-ring>div{background:#fffdfb!important}
.atlas-screen.atlas-reference-v4 .lm21-overall-card .atlas-achievement-ring strong{color:var(--ach-color)!important;font-size:clamp(24px,2.1vw,33px)!important}
.atlas-screen.atlas-reference-v4 .lm21-overall-card .atlas-achievement-ring span{font-size:10px}
.atlas-screen.atlas-reference-v4 .lm21-yoy-overall{min-height:37px;flex:none;margin-top:auto;background:#f7faf4;padding:6px 9px;gap:4px;border-radius:11px}
.atlas-screen.atlas-reference-v4 .lm21-yoy-overall .lm21-yoy-title{font-size:11px}
.atlas-screen.atlas-reference-v4 .lm21-yoy-overall .lm21-yoy-percent{font-size:13px;padding:5px 7px}
.atlas-screen.atlas-reference-v4 .lm21-yoy-overall .lm21-yoy-money{font-size:13px}
/* Tablet and narrow layouts: preserve original podium grid proportions and avoid clipping. */
@media(max-width:1400px){
 .atlas-screen.atlas-reference-v4 .atlas-ranking-top .atlas-podium{min-height:155px!important;grid-template-rows:minmax(84px,auto) auto!important}
 .atlas-screen.atlas-reference-v4 .lm21-yoy-title{font-size:10px}
 .atlas-screen.atlas-reference-v4 .lm21-yoy-percent,.atlas-screen.atlas-reference-v4 .lm21-yoy-money{font-size:11px}
 .atlas-screen.atlas-reference-v4 .atlas-summary-premium.lm21-overall-card{padding:9px!important}
}
@media(max-width:1100px){
 .atlas-screen.atlas-reference-v4 .atlas-stage-premium{height:auto!important;min-height:0}
 .atlas-screen.atlas-reference-v4 .atlas-left-rail{grid-template-rows:minmax(225px,auto) minmax(235px,auto)!important}
 .atlas-screen.atlas-reference-v4 .atlas-ranking-top .atlas-podium{min-height:155px!important}
}
@media(max-width:650px){
 .atlas-screen.atlas-reference-v4 .lm21-yoy{grid-template-columns:minmax(0,1fr) auto auto;gap:4px;padding:5px}
 .atlas-screen.atlas-reference-v4 .lm21-yoy-title{font-size:10px}
 .atlas-screen.atlas-reference-v4 .lm21-yoy-percent,.atlas-screen.atlas-reference-v4 .lm21-yoy-money{font-size:11px;padding:4px}
 .atlas-screen.atlas-reference-v4 .atlas-ranking-top .atlas-podium{min-height:177px!important;grid-template-rows:minmax(115px,auto) auto!important}
 .atlas-screen.atlas-reference-v4 .atlas-left-rail{grid-template-rows:minmax(225px,auto) auto!important}
}
