/* Shared YEB strategic diagnostic page design grammar, extracted from the approved BCU/Customer Compass family. */

/* Brand Content Universe Mapper v2 — Customer Compass-derived page system
   Namespace: .yeb-strategy
   Uses the established YEB / BBM visual language without affecting the iframe app. */

.yeb-strategy{
  --strategy-green:#004741;
  --strategy-deep:#002d29;
  --strategy-paper:#f8f6ef;
  --strategy-sand:#f0ede4;
  --strategy-ink:#123b35;
  --strategy-muted:#536b63;
  --strategy-warm:#d2c5a7;
  --strategy-line:rgba(0,71,65,.16);
  color:var(--strategy-ink);
  background:var(--strategy-paper);
  padding:clamp(64px,8vw,112px) 0;
}
.yeb-strategy *{box-sizing:border-box}
.yeb-strategy-wrap{width:min(1540px,calc(100% - 48px));margin-inline:auto}
.yeb-strategy h1,.yeb-strategy h2,.yeb-strategy h3{color:inherit;text-wrap:balance}
.yeb-strategy h1{font-size:clamp(38px,5.4vw,74px);line-height:1.02;letter-spacing:-.045em;margin:.18em 0 .35em}
.yeb-strategy h2{font-size:clamp(32px,4.4vw,58px);line-height:1.06;letter-spacing:-.035em;margin:.2em 0 .45em;max-width:900px}
.yeb-strategy h3{font-size:clamp(20px,2vw,28px);line-height:1.18;margin:0 0 .55em}
.yeb-strategy p,.yeb-strategy li{font-size:clamp(16px,1.35vw,19px);line-height:1.72}
.yeb-strategy p{max-width:760px}
.yeb-strategy-kicker{font-size:11px!important;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:var(--strategy-muted);margin:0 0 18px}
.yeb-strategy-lead{font-size:clamp(19px,1.8vw,25px)!important;line-height:1.55!important}
.yeb-strategy-note{font-size:14px!important;color:var(--strategy-muted)}
.yeb-strategy-caption{font-size:12px!important;color:var(--strategy-muted);margin:18px 0 0}
.yeb-strategy-label{font-size:11px!important;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:var(--strategy-muted)}
.yeb-strategy-dark{background:var(--strategy-deep);color:var(--strategy-sand)}
.yeb-strategy-dark .yeb-strategy-kicker,.yeb-strategy-dark .yeb-strategy-note,.yeb-strategy-dark .yeb-strategy-caption{color:#b7c9c2}
.yeb-strategy-hero{padding-top:clamp(46px,6vw,78px);padding-bottom:clamp(42px,5vw,72px);background:radial-gradient(circle at 84% 20%,rgba(210,197,167,.22),transparent 28%),var(--strategy-paper)}
.yeb-strategy-hero-grid,.yeb-strategy-split,.yeb-strategy-bridge{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:clamp(36px,6vw,84px);align-items:center}
.yeb-strategy-dotted{background-color:#f7f5ed;background-image:radial-gradient(rgba(0,71,65,.18) 1.1px,transparent 1.1px);background-size:24px 24px;border:1px solid var(--strategy-line)}
.yeb-strategy-dark .yeb-strategy-dotted{background-color:#073f39;background-image:radial-gradient(rgba(240,237,228,.18) 1.1px,transparent 1.1px);border-color:rgba(240,237,228,.15)}
.yeb-strategy-concept{min-height:390px;padding:30px;border-radius:10px;display:grid;align-content:center}
.yeb-strategy-compass{position:relative;min-height:290px;display:grid;place-items:center}
.yeb-strategy-compass-core{width:148px;height:148px;border-radius:50%;display:grid;place-items:center;text-align:center;background:var(--strategy-green);color:var(--strategy-sand);font-size:17px;line-height:1.25;box-shadow:0 0 0 22px rgba(0,71,65,.06),0 0 0 50px rgba(0,71,65,.035)}
.yeb-strategy-compass-tag{position:absolute;background:#fff;border:1px solid var(--strategy-line);border-radius:999px;padding:9px 14px;font-size:12px;font-weight:650;box-shadow:0 8px 25px rgba(0,71,65,.06)}
.yeb-strategy-compass-tag.t1{top:8px;left:2%}.yeb-strategy-compass-tag.t2{top:24px;right:0}.yeb-strategy-compass-tag.t3{bottom:18px;left:0}.yeb-strategy-compass-tag.t4{bottom:6px;right:4%}
.yeb-strategy-dimension-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;margin-top:38px}
.yeb-strategy-dimension-card{grid-column:span 2;padding:28px;border:1px solid var(--strategy-line);background:#fff;border-radius:8px;min-height:100%}
.yeb-strategy-dimension-card:nth-child(4){grid-column:2/span 2}.yeb-strategy-dimension-card:nth-child(5){grid-column:4/span 2}
.yeb-strategy-dimension-card p{font-size:15px;line-height:1.62;margin:.7em 0}
.yeb-strategy-index{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid currentColor;border-radius:50%;font-size:11px;font-weight:700;margin-bottom:18px;opacity:.7}
.yeb-strategy-interpret-cards{display:grid;gap:12px}
.yeb-strategy-interpret-cards article{border:1px solid rgba(240,237,228,.18);padding:22px;border-radius:8px;background:rgba(255,255,255,.035)}
.yeb-strategy-interpret-cards h3{font-size:20px}.yeb-strategy-interpret-cards p{font-size:15px;color:#cfdbd6;margin-bottom:0}
.yeb-strategy-example-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:35px 0}
.yeb-strategy-example{padding:30px;border-radius:8px;border:1px solid var(--strategy-line)}
.yeb-strategy-example-weak{background:#f1eee4}.yeb-strategy-example-strong{background:#e0e5d6}
.yeb-strategy-example h3{font-size:clamp(22px,2.6vw,34px)}
.yeb-strategy-decision-map{padding:24px;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;border-radius:8px}
.yeb-strategy-decision-map article{padding:24px;background:rgba(248,246,239,.93);border:1px solid rgba(0,71,65,.08)}
.yeb-strategy-decision-map span{font-size:11px;letter-spacing:.12em;color:var(--strategy-muted)}
.yeb-strategy-decision-map p{font-size:14px;line-height:1.55;margin-bottom:0}
.yeb-strategy-exclusion{background:#e6e9df}
.yeb-strategy-flow,.yeb-strategy-chain,.yeb-strategy-entity-map{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:28px;border-radius:8px}
.yeb-strategy-flow span,.yeb-strategy-chain span,.yeb-strategy-entity-map span{padding:10px 14px;border:1px solid currentColor;border-radius:5px;font-size:13px;font-weight:650;text-align:center}
.yeb-strategy-flow b,.yeb-strategy-chain b,.yeb-strategy-entity-map b{opacity:.48}
.yeb-strategy-chain{margin:34px 0;border:1px solid rgba(240,237,228,.17);background:rgba(255,255,255,.035)}
.yeb-strategy-terminology{max-width:920px}
.yeb-strategy-mistakes{background:#f1eee4}
.yeb-strategy-checklist{list-style:none;padding:0;margin:34px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.yeb-strategy-checklist li{padding:18px 20px;background:var(--strategy-paper);border:1px solid var(--strategy-line);border-radius:6px;font-size:15px;line-height:1.55}
.yeb-strategy-limit-card{padding:30px;border:1px solid var(--strategy-line);background:#fff;border-radius:8px}
.yeb-strategy-limit-card h3{font-size:19px;margin-top:18px}.yeb-strategy-limit-card h3:first-child{margin-top:0}
.yeb-strategy-limit-card ul{padding-left:20px;margin-bottom:0}.yeb-strategy-limit-card li{font-size:15px;margin:.35em 0}
.yeb-strategy-related{background:#f1eee4}
.yeb-strategy-entity-map{min-height:240px;color:var(--strategy-sand)}
.yeb-strategy-next-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:34px}
.yeb-strategy-next-grid article{padding:30px;border:1px solid var(--strategy-line);border-radius:8px;background:#fff}
.yeb-strategy-next-grid p{font-size:16px}

@media (prefers-reduced-motion:no-preference){
  .yeb-strategy-dimension-card,.yeb-strategy-example,.yeb-strategy-next-grid article{transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease}
  .yeb-strategy-dimension-card:hover,.yeb-strategy-example:hover,.yeb-strategy-next-grid article:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(0,71,65,.08)}
}

@media (max-width:900px){
  .yeb-strategy{padding:58px 0}.yeb-strategy-wrap{width:min(100% - 28px,1540px)}
  .yeb-strategy-hero-grid,.yeb-strategy-split,.yeb-strategy-bridge{grid-template-columns:1fr;gap:30px}
  .yeb-strategy-concept{min-height:320px;order:2}.yeb-strategy-compass{min-height:235px}.yeb-strategy-compass-core{width:120px;height:120px;font-size:14px}
  .yeb-strategy-dimension-grid{grid-template-columns:1fr}.yeb-strategy-dimension-card,.yeb-strategy-dimension-card:nth-child(4),.yeb-strategy-dimension-card:nth-child(5){grid-column:auto}
  .yeb-strategy-example-grid,.yeb-strategy-next-grid,.yeb-strategy-checklist{grid-template-columns:1fr}
  .yeb-strategy-decision-map{grid-template-columns:1fr 1fr;padding:14px}
  .yeb-strategy-flow,.yeb-strategy-chain,.yeb-strategy-entity-map{justify-content:flex-start}
}

@media (max-width:560px){
  .yeb-strategy h1{font-size:39px}.yeb-strategy h2{font-size:33px}.yeb-strategy p,.yeb-strategy li{font-size:16px}
  .yeb-strategy-concept{padding:18px}.yeb-strategy-compass-tag{font-size:10px;padding:7px 10px}
  .yeb-strategy-decision-map{grid-template-columns:1fr}
  .yeb-strategy-flow,.yeb-strategy-chain,.yeb-strategy-entity-map{display:grid;grid-template-columns:1fr;text-align:center}
  .yeb-strategy-flow b,.yeb-strategy-chain b,.yeb-strategy-entity-map b{transform:rotate(90deg)}
}

/* v0.8.14 localized Customer Compass interaction helpers. */
.yeb-strategy-tool-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:28px}
.yeb-strategy-tool-actions>span{font-size:13px;color:var(--strategy-muted)}
.yeb-strategy-tool-cta{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:13px 18px;border-radius:7px;background:var(--strategy-green);color:var(--strategy-paper)!important;text-decoration:none!important;font-weight:750;line-height:1.2;border:1px solid var(--strategy-green);transition:transform .2s ease,box-shadow .2s ease}
.yeb-strategy-tool-cta:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(0,71,65,.14)}
.yeb-strategy-tool-cta--compact{padding:10px 14px;font-size:14px}
.yeb-strategy-dark .yeb-strategy-tool-cta{background:var(--strategy-warm);border-color:var(--strategy-warm);color:var(--strategy-deep)!important}
.yeb-strategy-return-to-tool{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:30px;padding:20px 22px;border:1px dashed var(--strategy-line);border-radius:8px;background:rgba(255,255,255,.55)}
.yeb-strategy-return-to-tool span,.yeb-strategy-return-to-tool strong{display:block}.yeb-strategy-return-to-tool span{font-size:13px;color:var(--strategy-muted);margin-bottom:3px}.yeb-strategy-return-to-tool strong{font-size:17px}
@media(max-width:700px){.yeb-strategy-tool-actions{align-items:flex-start;flex-direction:column}.yeb-strategy-tool-cta{width:100%}.yeb-strategy-return-to-tool{align-items:flex-start;flex-direction:column}.yeb-strategy-return-to-tool .yeb-strategy-tool-cta{width:100%}}



/* BCU v2 specific content-map treatments. */
.yeb-strategy-map{position:relative;min-height:310px;display:grid;place-items:center;overflow:hidden}
.yeb-strategy-map-core{width:150px;height:112px;border-radius:26px;display:grid;place-items:center;text-align:center;background:var(--strategy-green);color:var(--strategy-sand);font-weight:800;box-shadow:0 0 0 22px rgba(0,71,65,.06),0 0 0 50px rgba(0,71,65,.035)}
.yeb-strategy-map-node{position:absolute;background:#fff;border:1px solid var(--strategy-line);border-radius:999px;padding:9px 14px;font-size:12px;font-weight:650;box-shadow:0 8px 25px rgba(0,71,65,.06)}
.yeb-strategy-map-node.n1{top:12px;right:4%}.yeb-strategy-map-node.n2{top:18px;left:4%}.yeb-strategy-map-node.n3{bottom:20px;right:0}.yeb-strategy-map-node.n4{bottom:14px;left:0}.yeb-strategy-map-node.n5{top:44%;right:2%}.yeb-strategy-map-node.n6{top:44%;left:2%}
.yeb-strategy-level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}.yeb-strategy-level-grid article{padding:30px;border:1px solid var(--strategy-line);border-radius:8px}.yeb-strategy-level-grid article:nth-child(1){background:#e0e5d6}.yeb-strategy-level-grid article:nth-child(2){background:#f1eee4}.yeb-strategy-level-grid article:nth-child(3){background:#e5eceb}
.yeb-strategy-signal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:36px}.yeb-strategy-signal-grid article{padding:24px;background:#fff;border:1px solid var(--strategy-line);border-radius:8px}.yeb-strategy-signal-grid p{font-size:15px;line-height:1.6;margin-bottom:0}
.yeb-strategy-route-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px}.yeb-strategy-route-grid article{display:flex;flex-direction:column;padding:28px;border:1px solid rgba(240,237,228,.17);border-radius:8px;background:rgba(255,255,255,.035)}.yeb-strategy-route-grid article p{font-size:15px;color:#cfdbd6}.yeb-strategy-route-grid .yeb-strategy-tool-cta{margin-top:auto}

@media(max-width:900px){.yeb-strategy-level-grid,.yeb-strategy-signal-grid,.yeb-strategy-route-grid{grid-template-columns:1fr}.yeb-strategy-map{min-height:265px}.yeb-strategy-map-node{font-size:10px;padding:7px 10px}}

/* Intermediate desktop/RTL grid safeguard: four decision cards must never
   impose their min-content width on a two-column editorial comparison. */
@media(max-width:1450px){.yeb-strategy-decision-map{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.yeb-strategy-decision-map{grid-template-columns:minmax(0,1fr)}}
.yeb-strategy-decision-map>article,.yeb-strategy-route-grid>article,.yeb-strategy-level-grid>article{min-inline-size:0;overflow-wrap:anywhere}
