/* Media-only composition, based on the approved automotive visual language. */
.media-map { max-width: 1280px; width: calc(100% - 64px); margin: 0 auto; padding: 24px 0 20px; color: #17213e; }
.media-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.media-heading p { margin: 0 0 4px; color: #687492; font-size: 14px; line-height: 24px; }
.media-heading h1 { margin: 0; font-size: 38px; line-height: 52px; letter-spacing: -1px; }
.media-heading h1:focus { outline: none; }
.media-heading a { color: #4858a1; font-size: 14px; line-height: 24px; font-weight: 600; text-decoration: none; }
.media-heading a:hover { text-decoration: underline; }
.media-help { display: flex; justify-content: space-between; gap: 20px; margin: 12px 0 0; color: #687492; font-size: 13px; line-height: 24px; }
.media-help > span { font-size: 12px; color: #7c86a1; }
.media-stage { position: relative; height: 600px; isolation: isolate; }
.media-floor { position: absolute; width: 100%; height: 600px; inset: 0; z-index: -1; overflow: visible; }
.media-floor-top { fill: url(#media-floor-fill); stroke: #fff; stroke-width: 2; }
.media-floor-side { fill: #dce5fc; }
.media-flow { fill: none; stroke: #9690e6; stroke-width: 2; stroke-linecap: round; }
.media-support { fill: none; stroke: #b9bddf; stroke-width: 1.25; stroke-dasharray: 4 6; stroke-linecap: round; }
.media-scene { position: absolute; display: flex; align-items: center; flex-direction: column; }
.media-scene > button > img { display: block; width: 192px; height: 128px; object-fit: contain; pointer-events: none; }
.media-scene > button { display: flex; width:100%; align-items:center; flex-direction:column; padding:0; border:0; border-radius:12px; background:transparent; color:#27314f; cursor:pointer; font:600 16px/28px var(--font-ui); }
.media-node-label { display:flex; align-items:center; justify-content:center; gap:10px; height:36px; padding:4px 8px; border-radius:10px; white-space:nowrap; }
.media-node-label, .media-scene > button > img { align-self:flex-start; }
.media-scene > button:hover .media-node-label, .media-scene > button[aria-expanded="true"] .media-node-label { background:rgb(255 255 255 / 70%); color:#6152c7; }
.media-scene > button:focus-visible { outline:2px solid #8e82e5; outline-offset:4px; }
.media-caption { display: block; flex: 0 0 22px; width: 100%; height: 22px; margin-top: 2px; color: #7480a1; font: 400 12px/22px var(--font-ui); text-align: center; white-space: nowrap; pointer-events: none; opacity: 1; transform: translateY(0); transition: opacity 220ms ease, transform 220ms ease; }
.media-caption.is-changing { opacity: 0; transform: none; }
@media (prefers-reduced-motion: reduce) { .media-caption, .media-caption.is-changing { transition: none; opacity: 1; transform: none; } }
.media-hotspot { position: relative; flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: #8c7ce8; box-shadow: 0 0 0 5px #edeafe, 0 0 0 6px #fff; }
.media-hotspot::after { content: ""; position: absolute; inset: -6px; border: 1px solid #a89ae2; border-radius: 50%; pointer-events: none; animation: media-hotspot-breathe 3.6s ease-in-out infinite; }
.media-scene > button:hover .media-hotspot::after, .media-scene > button:focus-visible .media-hotspot::after { animation: none; transform: scale(1.15); opacity: .8; }
@keyframes media-hotspot-breathe { 0%, 100% { transform: scale(.92); opacity: .2; } 50% { transform: scale(1.16); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .media-hotspot::after { animation: none; transform: none; opacity: .4; } .media-scene > button:hover .media-hotspot::after, .media-scene > button:focus-visible .media-hotspot::after { transform: none; } }
.media-scene > button[aria-expanded="true"] .media-hotspot { background: #6350d5; box-shadow: 0 0 0 5px #dfd8fb, 0 0 0 6px #a99ce9; }
.media-products { position: absolute; top: 116px; left: 0; width: 272px; padding: 16px; border: 1px solid #c9c3ee; border-radius: 16px; background: rgb(255 255 255 / 98%); box-shadow: 0 12px 32px rgb(89 102 161 / 12%); z-index: 4; }
.media-products[hidden] { display: none; }
.media-products-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-bottom: 10px; }
.media-products-head h2 { margin: 0; color: #6b55d2; font-size: 22px; line-height: 30px; }
.media-products-head span { display: block; color: #80869b; font-size: 11px; line-height: 20px; }
.media-products-head button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; color: #697190; background: #f3f3fb; font: 24px/28px var(--font-ui); cursor: pointer; }
.media-products-list { max-height: 328px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c9c1ee transparent; list-style: none; padding: 0; margin: 0; }
.media-products-list li { border-top: 1px solid #edebf7; }
.media-products-list a { display: block; position: relative; padding: 8px 18px 8px 0; text-decoration: none; color: #25304e; }
.media-products-list a:hover, .media-products-list a:focus-visible { background: #f7f6ff; outline-offset: -2px; }
.media-products-list strong { display: block; color: #626b9c; font-size: 13px; line-height: 22px; font-weight: 600; }
.media-products-list a:hover strong, .media-products-list a:focus-visible strong { color: #3c3674; }
.media-products-list span { display: block; color: #68769d; font-size: 12px; line-height: 20px; }
.media-product-chevron { position: absolute; right: 0; top: 20px; width: 14px; height: 14px; fill: none; stroke: #9b90cc; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.media-legend { position: absolute; bottom: 20px; left: 0; display: grid; gap: 6px; padding: 10px 14px; border: 1px solid #e1e5f1; border-radius: 10px; background: rgb(255 255 255 / 60%); color: #7c86a1; font-size: 11px; line-height: 18px; }
.media-legend span { display: flex; align-items: center; gap: 12px; }
.media-legend i { position: relative; width: 36px; border-top: 2px solid #9690e6; }
.media-legend span:first-child i::after { content: ""; position: absolute; right: -1px; top: -5px; border: 4px solid transparent; border-left: 6px solid #9690e6; border-right: 0; }
.media-legend span:last-child i { border-top: 1px dashed #b0b5e0; }
@media (min-width: 761px) and (max-width: 1163px) {
  .media-scene > button > img { width: 156px; height:104px; }
  .media-scene > button { font-size: 14px; }
  .media-products { width: 240px; padding: 12px; }
}
@media (max-width: 760px) {
  .media-map { width: calc(100% - 32px); padding-top: 20px; }
  .media-heading h1 { font-size: 28px; line-height: 40px; }
  .media-heading p { font-size: 12px; line-height: 20px; }
  .media-heading a { font-size: 12px; }
  .media-help { font-size: 12px; margin-top: 12px; }
  .media-help > span { display: none; }
  .media-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; height: auto; padding-top: 20px; }
  .media-floor { display: none; }
  .media-scene { position: relative; left: auto !important; top: auto !important; width: 100% !important; border-radius: 12px; background: linear-gradient(135deg, #f2f8ff, #e9efff); padding: 8px 0; }
  .media-scene > button > img { width: 156px; height: 104px; }
  .media-scene > button { font-size: 12px; line-height: 24px; }
  .media-node-label { gap:8px; height:36px; }
  .media-caption { width: 100%; font-size: 10px; }
  .media-hotspot { width: 8px; height: 8px; flex-basis: 8px; box-shadow: 0 0 0 3px #edeafe; }
  .media-products { position: fixed; top: auto; bottom: 16px; left: 16px; right: 16px; width: auto; padding: 16px; max-height: 56dvh; }
  .media-products-list { max-height: 36dvh; }
  .media-products-list strong { font-size: 13px; line-height: 22px; }
  .media-products-list span { font-size: 12px; line-height: 20px; }
  .media-products-list a { padding-top: 10px; padding-bottom: 10px; }
  .media-legend { position: static; grid-column: 1 / -1; display: flex; justify-self: start; gap: 16px; }
}

.media-caution { margin:4px 0 0; color:#7c86a1; font:400 12px/22px var(--font-ui); }
@media (min-width:761px) and (max-width:883px) { .media-scene > button > img { width:144px; height:96px; } .media-node-label { font-size:12px; gap:8px; } .media-caption { font-size:11px; } }
@media (max-width:760px) {
 .media-scene[data-scene="live"] { grid-column:1 / -1; }
 .media-help { display:block; }
 .media-stage { grid-template-columns:repeat(2, var(--media-card-width)); justify-content:space-between; }
 .media-caption { font-size:10px; }
 .media-products { z-index:20; max-height:var(--media-panel-max-height); }
 .media-products-list { max-height:var(--media-list-max-height); }
}
@media (max-width:359px) { .media-scene > button > img { width:132px; height:88px; } .media-node-label { font-size:11px; gap:7px; } }
