/* v59: invisible local windows, never a fourth cramped card or photo page. */
#three_markets.rm-unified{background:#fff;color:#122e43;padding:0;min-height:0}
#three_markets.rm-unified>.scene-inner{padding:0;max-width:none}
#three_markets.rm-unified .layer-scroll{height:calc(100svh + 4200px)}
#three_markets.rm-unified .layer-stage{height:100svh;min-height:0;top:0;overflow:clip;position:sticky}
#three_markets.rm-unified .layer-headings{position:absolute;top:calc(64px + 5svh);left:6%;right:6%;margin:0;transition:none}
#three_markets.rm-unified .diagram{position:absolute;inset:0;margin:0;max-width:none;width:100%;padding:0;transform:none}
#three_markets.rm-unified .ael-diagram{height:100%;width:100%;padding:0}
#three_markets.rm-unified .ad-market-grid{position:absolute;left:7%;right:7%;top:calc(50% - 105px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;align-items:start}
#three_markets.rm-unified .rm-local{padding:0;background:none;border:0;box-shadow:none;text-align:center;transition:none;min-width:0}
#three_markets.rm-unified .rm-local>[hidden]{display:none!important}
#three_markets.rm-unified .ad-icon-disc{margin:0 auto 20px;width:72px;height:72px;transition:none}
#three_markets.rm-unified .rm-local-window{position:relative;height:240px;overflow:clip}
#three_markets.rm-unified .rm-local-window>p{position:absolute;inset:0;margin:0;display:flex;align-items:flex-start;justify-content:center;line-height:1.5;transition:none}
#three_markets.rm-unified .rm-role-label{font-size:var(--type-subheading-size,30px);font-weight:650}
#three_markets.rm-unified .rm-role-value{font-size:var(--type-narrative-size,36px);font-weight:600;max-width:330px;margin-inline:auto!important;text-wrap:balance}
#three_markets.rm-unified .rm-role-money{flex-wrap:wrap;align-content:flex-start;align-items:baseline!important;gap:6px;color:#b47b31}
#three_markets.rm-unified .rm-role-money strong{font-size:1em;line-height:1.1;font-weight:650;letter-spacing:-.055em;font-variant-numeric:tabular-nums}
#three_markets.rm-unified .rm-role-money span{font-size:var(--type-unit-ratio,.25em);white-space:nowrap}
#three_markets.rm-unified .rm-calculation{position:absolute;inset:0;pointer-events:none}
#three_markets.rm-unified .rm-calculation>div{position:absolute;top:50%;left:8%;right:8%;margin-top:-135px;text-align:center}
#three_markets.rm-unified .rm-calculation>div>p:first-child{font-size:var(--type-narrative-size,36px);line-height:1.5;font-weight:600;margin:0 0 18px;text-wrap:balance}
#three_markets.rm-unified .rm-calculation-number{display:flex;align-items:baseline;justify-content:center;gap:12px;color:#b47b31;line-height:1.1}
#three_markets.rm-unified .rm-calculation-number strong{font-size:1em;font-weight:650;letter-spacing:-.065em;font-variant-numeric:tabular-nums}
#three_markets.rm-unified .rm-calculation-number span{font-size:var(--type-unit-ratio,.25em);white-space:nowrap}
#three_markets.rm-unified .rm-equation{margin-top:20px;font-size:var(--type-body-size,18px);color:#647580}
#three_markets.rm-unified .rm-example-label{position:absolute;bottom:108px;left:5%;right:5%;text-align:center;font-size:var(--type-caption-size,14px);line-height:1.6;color:#5d6e79;margin:0;pointer-events:none}
#three_markets.rm-unified .rm-example-label span{display:inline-block;margin-left:1em}
#three_markets.rm-unified .rm-final-connection{position:absolute;bottom:150px;left:5%;right:5%;text-align:center;font-size:var(--type-body-size,16px);line-height:1.6;margin:0;pointer-events:none}
#three_markets.rm-unified .rm-alias{position:absolute;top:0;left:0;width:1px;height:1px}
#three_markets.rm-unified .layer-progress{display:none!important}
@media(max-width:600px){#three_markets.rm-unified .layer-headings{top:calc(60px + 7svh)}#three_markets.rm-unified .ad-market-grid{left:8%;right:8%;top:calc(50% - 110px);display:block}#three_markets.rm-unified .rm-local{position:absolute;inset:0}#three_markets.rm-unified .ad-icon-disc{width:68px;height:68px;margin-bottom:25px}#three_markets.rm-unified .rm-local-window{height:240px}#three_markets.rm-unified .rm-role-label{font-size:var(--type-subheading-size,30px)}#three_markets.rm-unified .rm-role-value{font-size:var(--type-narrative-size,26px);max-width:310px}#three_markets.rm-unified .rm-role-money strong{font-size:1em}#three_markets.rm-unified .rm-role-money span{font-size:var(--type-body-size,18px)}#three_markets.rm-unified .rm-calculation>div{left:7%;right:7%;margin-top:-120px}#three_markets.rm-unified .rm-calculation>div>p:first-child{font-size:var(--type-narrative-size,26px)}#three_markets.rm-unified .rm-calculation-number strong{font-size:1em}#three_markets.rm-unified .rm-calculation-number span{font-size:var(--type-body-size,18px)}#three_markets.rm-unified .rm-example-label{bottom:100px;font-size:var(--type-caption-size,13px)}#three_markets.rm-unified .rm-example-label span{display:block;margin-left:0}#three_markets.rm-unified .rm-final-connection{bottom:155px;font-size:var(--type-caption-size,14px)}}
#three_markets.rm-unified.rm-static .layer-scroll{height:auto}
#three_markets.rm-unified.rm-static .layer-stage{position:relative;height:auto;overflow:visible;padding:90px 7% 50px}
#three_markets.rm-unified.rm-static .layer-headings,#three_markets.rm-unified.rm-static .diagram,#three_markets.rm-unified.rm-static .ad-market-grid,#three_markets.rm-unified.rm-static .rm-local,#three_markets.rm-unified.rm-static .rm-calculation,#three_markets.rm-unified.rm-static .rm-calculation>div,#three_markets.rm-unified.rm-static .rm-example-label,#three_markets.rm-unified.rm-static .rm-final-connection{position:relative;inset:auto;margin:0 0 32px;width:auto;transform:none!important;opacity:1!important}
#three_markets.rm-unified.rm-static .rm-local-window{height:auto;overflow:visible}
#three_markets.rm-unified.rm-static .rm-local-window>p{position:relative;inset:auto;margin-bottom:16px;transform:none!important;opacity:1!important}
#three_markets.rm-unified.rm-static .ad-market-grid{display:grid;gap:35px}
@media(max-width:600px){#three_markets.rm-unified.rm-static .ad-market-grid{display:block}}
#three_markets.rm-unified .ael-diagram{margin:0}
#three_markets.rm-unified .rm-role-money strong{margin:0}
#three_markets.rm-unified .rm-alias{top:672px;scroll-margin-top:80px;pointer-events:none}
#three_markets.rm-unified.rm-static .rm-alias{top:0}

/* Number role: local three-column figures capped at 96px to preserve their independent lanes;
   single central total/cost/result uses the shared hero number token without a local cap. */
#three_markets.rm-unified .rm-role-money{font-size:min(var(--type-number-size,96px),96px)}
#three_markets.rm-unified .rm-calculation-number{font-size:var(--type-number-size,140px)}
#three_markets.rm-unified .rm-role-money span,#three_markets.rm-unified .rm-calculation-number span{font-size:var(--type-unit-ratio,.25em)}
#three_markets.rm-unified .rm-role-label,#three_markets.rm-unified .rm-role-value,#three_markets.rm-unified .rm-calculation>div>p:first-child{line-height:var(--type-narrative-leading,1.5);letter-spacing:var(--type-narrative-tracking,.025em)}
/* Exclusive ownership: legacy .ad-stage/.ad-market and late .ld-layer rules use !important.
   Scope to the unified story; CSS values and JS inline important agree, including reduced mode. */
#three_markets.rm-unified .ad-market-grid>.rm-local{opacity:var(--rm-card-opacity,0)!important;transform:translateY(var(--rm-card-y,0px))!important}
#three_markets.rm-unified .rm-local>.ad-icon-disc{opacity:1!important}
/* Center the complete calculation group inside the reading area, not by a fixed top margin. */
#three_markets.rm-unified:not(.rm-static) .rm-calculation>div{top:calc(50% - 60px);margin-top:0;translate:0 -50%}
#three_markets.rm-unified.rm-static .rm-calculation>div{translate:none}

/* Intro is a centered thought; it retires before the first icon is readable. */
#three_markets.rm-unified:not(.rm-static) .layer-headings{top:calc(50% - 80px)}
#three_markets.rm-unified .layer-headings .lead[hidden]{display:none!important}

/* Value copy is the subheading role within a three-column local window, never a page title. */
#three_markets.rm-unified .rm-role-value{font-size:var(--type-subheading-size)}
#three_markets.rm-unified .rm-value-line{display:block;white-space:nowrap;font:inherit;letter-spacing:inherit;line-height:inherit}
#three_markets.rm-unified:not(.rm-static) .layer-headings{width:auto;max-width:none;left:6%;right:6%;margin-inline:0}

/* Meaning-line children inherit the role scale, not legacy diagram span captions. */
#three_markets.rm-unified .rm-local-window>.rm-role-value{flex-direction:column;align-items:center;justify-content:flex-start}

/* v68: cumulative information, each role remains readable above its value and amount. */
#three_markets.rm-unified .layer-headings{z-index:2}
#three_markets.rm-unified .rm-local-window{height:330px;display:flex;flex-direction:column;align-items:center;gap:18px;overflow:visible}
#three_markets.rm-unified .rm-local-window>p{position:relative;inset:auto;width:100%;height:auto;flex:none;margin:0;align-items:center;justify-content:center}
#three_markets.rm-unified .rm-local-window>.rm-role-label{display:block;line-height:1.3}
#three_markets.rm-unified .rm-market-unit{display:block;margin-top:8px;font-size:var(--type-caption-size);font-weight:500;line-height:1.5;color:#607581}
#three_markets.rm-unified .rm-market-unit small{display:inline;margin:0 0 0 .6em;font:inherit;color:inherit}
#three_markets.rm-unified .rm-local-window>.rm-role-value{min-height:3em;justify-content:center;flex-direction:column;align-items:center}
#three_markets.rm-unified .rm-local-window>.rm-role-money{align-items:baseline;line-height:1.1}
#three_markets.rm-unified .ad-market-grid{top:max(108px,calc(50% - 215px))}
#three_markets.rm-unified .ad-icon-disc{margin-bottom:18px}
#three_markets.rm-unified.rm-static .rm-local-window{height:auto;gap:18px}
@media(max-width:600px){
#three_markets.rm-unified .ad-market-grid{top:max(88px,calc(50% - 210px))}
#three_markets.rm-unified .ad-icon-disc{width:60px;height:60px;margin-bottom:16px}
#three_markets.rm-unified .rm-local-window{height:310px;gap:14px}
#three_markets.rm-unified .rm-local-window>.rm-role-value{min-height:3em}
#three_markets.rm-unified .rm-market-unit{font-size:var(--type-caption-size)}
#three_markets.rm-unified .rm-local-window>.rm-role-money{font-size:min(var(--type-number-size),80px)}
#three_markets.rm-unified .rm-example-label{bottom:86px}
}

/* v69: values gather in a legible sum row; descriptive columns never collide. */
#three_markets .rm-sum-tokens{display:flex;align-items:center;justify-content:center;gap:.65em}
#three_markets .rm-sum-tokens span{display:inline-block}
#three_markets .rm-sum-tokens b{font-weight:400;color:#87939c}
/* v70: one invariant numeric plane. Heading changes never reflow its anchor. */
#three_markets.rm-unified:not(.rm-static) .rm-calculation>.rm-fixed-calculation{position:absolute;top:calc(50% - 35px);left:7%;right:7%;height:1.1em;font-size:var(--type-number-size,140px);margin:0;translate:0 -50%;transform:none!important}
#three_markets.rm-unified .rm-fixed-calculation>.rm-calculation-heading{position:absolute;bottom:calc(100% + 54px);left:0;right:0;margin:0;font-size:var(--type-narrative-size,36px);line-height:1.5;letter-spacing:var(--type-narrative-tracking,.025em);font-weight:600;text-wrap:balance}
#three_markets.rm-unified .rm-fixed-calculation>.rm-number-meaning{position:absolute;bottom:calc(100% + 14px);left:0;right:0;margin:0;font-size:var(--type-caption-size,14px);line-height:1.5;color:#647580}
#three_markets.rm-unified .rm-fixed-calculation .rm-calculation-number{font-size:inherit;transform:none!important;white-space:nowrap}
#three_markets.rm-unified .rm-fixed-calculation .rm-calculation-number strong{display:inline-block;width:3ch;text-align:right;letter-spacing:-.065em}
#three_markets.rm-unified .rm-fixed-calculation>.rm-equation{position:absolute;top:calc(100% + 22px);left:0;right:0;margin:0;font-size:var(--type-body-size,18px);line-height:1.5}
#three_markets.rm-unified.rm-static .rm-fixed-calculation{padding-top:0}
#three_markets.rm-unified.rm-static .rm-fixed-calculation>.rm-calculation-heading,#three_markets.rm-unified.rm-static .rm-fixed-calculation>.rm-number-meaning,#three_markets.rm-unified.rm-static .rm-fixed-calculation>.rm-equation{position:relative;inset:auto;margin:0 0 16px}
@media(max-width:600px){#three_markets.rm-unified .rm-fixed-calculation>.rm-calculation-heading{font-size:var(--type-narrative-size,26px);bottom:calc(100% + 48px)}#three_markets.rm-unified .rm-fixed-calculation>.rm-number-meaning{bottom:calc(100% + 12px)}#three_markets.rm-unified .rm-fixed-calculation>.rm-equation{top:calc(100% + 22px)}}

/* v72 restrained direction-led type entrance, same final optical axis. */
#three_markets .rm-kinetic-title{display:flex;justify-content:center;flex-wrap:wrap;gap:0 .18em;overflow:visible}
#three_markets .rm-kinetic-title>span{display:inline-block;white-space:nowrap;will-change:transform,opacity}
#three_markets .rm-fixed-calculation>.rm-equation span{display:inline-block;transform-origin:center}
@media(max-width:600px){#three_markets .rm-kinetic-title>span:last-child{flex-basis:100%}}
