/* Scoped composition: the approved homepage and existing UI kit are untouched. */
#ai-map { background: radial-gradient(ellipse at 54% 45%, #eaf3ff 0%, #f6faff 63%, #f8f9fd 100%); }
.industry-map-entry { display: inline-flex; margin-top: 24px; text-decoration: none; }
.industry-map-entry--featured {
  display: inline-grid;
  grid-template-columns: 32px minmax(0, 1fr) 20px;
  gap: 12px;
  width: 200px;
  max-width: 100%;
  height: 48px;
  padding: 0 20px;
}
.industry-map-entry--featured svg { display: block; width: 20px; height: 20px; }
.industry-map-entry--featured .map-entry-robot { width: 32px; height: 32px; }
.industry-map-entry--featured .map-entry-arrow { width: 20px; height: 20px; justify-self: center; }
.map-entry-robot .robot-hand,
.map-entry-robot .robot-map { fill: var(--deep); transition: fill 150ms ease; }
.industry-map-entry--featured:hover .robot-hand,
.industry-map-entry--featured:hover .robot-map { fill: var(--deep-2); }
.map-entry-robot .robot-gaze { animation: mapRobotRead 5.6s ease-in-out infinite; }
.map-entry-robot .robot-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: mapRobotBlink 5.6s linear infinite;
}
@keyframes mapRobotRead {
  0%, 14%, 100% { transform: translate(-1px, 0); }
  30%, 58% { transform: translate(1px, 1px); }
  74%, 90% { transform: translate(0, 1px); }
}
@keyframes mapRobotBlink {
  0%, 39%, 44%, 83%, 88%, 100% { transform: scaleY(1); }
  41%, 42%, 85%, 86% { transform: scaleY(.12); }
}
.industry-map-entry--featured:hover,
.industry-map-entry--featured:focus-visible,
.industry-map-entry--featured:active { transform: none; }
@media (max-width: 360px) {
  .industry-map-entry--featured { gap: 8px; padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .map-entry-robot .robot-gaze, .map-entry-robot .robot-eyes { animation: none; }
}
.map-container { width: calc(100% - 64px); max-width: 1280px; margin: 0 auto; padding: 12px 0 32px; }
.map-breadcrumb { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; font-size: 14px; line-height: 24px; color: var(--quiet); }
.map-return, .map-bottom-return { color: var(--deep-2); font-weight: 600; text-decoration: none; }
.map-return:hover, .map-bottom-return:hover { text-decoration: underline; }
.map-heading { display: flex; align-items: start; justify-content: space-between; gap: 32px; }
.map-heading > div { display: grid; flex: 1; min-width: 0; grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 24px; }
.map-eyebrow { display: none; margin: 0 0 8px; font-size: 15px; line-height: 24px; color: #58658a; }
.map-heading h1 { margin: 0; max-width: none; font-size: 44px; line-height: 60px; color: #17213e; letter-spacing: -1px; }
.map-heading h1:focus { outline: none; }
.map-intro { max-width: 740px; margin: 0; font-size: 16px; line-height: 28px; color: #53627d; }
.map-switch-label { display: grid; flex: 0 0 184px; gap: 8px; padding-top: 4px; font-size: 12px; line-height: 20px; color: var(--quiet); }
.map-switch-label select { width: 184px; height: 44px; border: 1px solid #d1daf1; border-radius: 12px; padding: 0 12px; color: #334ab4; background: #fff; font: 14px var(--font-ui); }
.map-help { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; margin: 8px 0 0; color: #65728a; font-size: 13px; line-height: 24px; }
.map-help > span { font-size: 12px; }
.map-stage { position: relative; height: 600px; isolation: isolate; }
.map-connections { position: absolute; inset: 0; width: 100%; height: 600px; overflow: visible; z-index: -1; }
.map-plate { fill: url(#map-plate-fill); stroke: #fff; stroke-width: 2; fill-opacity: .73; }
.map-plate-side { fill: #dbe6ff; fill-opacity: .7; }
.map-edge { fill: none; stroke-linecap: round; }
.map-edge-flow { stroke: #9292ef; stroke-width: 4; }
.map-edge-support { stroke: #a4a6eb; stroke-width: 2; stroke-dasharray: 6 8; opacity: .65; }
.map-node { position: absolute; display: flex; flex-direction: column; align-items: center; width: 230px; min-height: 190px; padding: 0 4px 8px; border: 0; border-radius: 20px; background: transparent; color: #17213e; font-family: var(--font-ui); cursor: pointer; text-align: center; -webkit-tap-highlight-color: transparent; }
.map-node:hover, .map-node[aria-expanded="true"] { background: rgb(255 255 255 / 35%); }
.map-node:focus-visible { outline: 2px solid #6977db; outline-offset: 0; background: rgb(255 255 255 / 60%); }
.map-illustration { display: flex; align-items: center; justify-content: center; width: 200px; height: 136px; pointer-events: none; }
.map-illustration img { display: block; object-fit: contain; flex: 0 0 auto; }
.map-illustration img[src$="map-factory.webp"], .map-illustration img[src$="map-video.webp"] { width: 288px; height: 192px; }
.map-illustration img[src$="map-platform.webp"] { width: 240px; height: 160px; }
.map-node-label { display: flex; align-self: flex-start; align-items: center; justify-content: start; gap: 10px; font-size: 17px; line-height: 28px; font-weight: 600; }
.map-hotspot { display: inline-block; flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; background: #8c7ef2; box-shadow: 0 0 0 6px #f0eefe, 0 0 0 7px rgb(255 255 255 / 85%); }
.map-node[aria-expanded="true"] .map-hotspot { background: #5c50d9; box-shadow: 0 0 0 6px #e3defe, 0 0 0 8px #a69af4; }
.map-node-steps { display: block; margin-top: 6px; font-size: 12px; line-height: 20px; color: #626d8b; }
.map-branch-label { display: block; margin-top: 8px; padding: 1px 10px; border: 1px solid #dce0f4; border-radius: 999px; color: #62658b; background: #f5f5ff; font-size: 11px; line-height: 20px; }
.map-mobile-order { display: none; }
.map-popover { position: absolute; z-index: 5; width: 288px; padding: 16px; border: 1px solid #cbc7f3; border-radius: 16px; background: #fff; box-shadow: 0 14px 36px rgb(87 100 171 / 15%); text-align: left; }
.map-popover[hidden] { display: none; }
.map-popover-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.map-popover-head > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.map-popover h2 { margin: 0; font-size: 22px; line-height: 30px; color: #6657d4; }
.map-popover-head p { margin: 0; color: #65728a; font-size: 12px; line-height: 20px; }
.map-close { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: #f3f5fd; color: #596485; font: 24px/32px var(--font-ui); cursor: pointer; }
.map-close:hover { background: #e9edfc; }
.map-product-list { list-style: none; padding: 0; margin: 8px 0 0; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.map-product-list li + li { border-top: 1px solid #e8e7f6; }
.map-product-link { position: relative; display: block; padding: 12px 22px 12px 0; color: #17213e; text-decoration: none; overflow-wrap: anywhere; }
.map-product-link:hover { background: #f7f8ff; }
.map-product-link strong { display: block; font-size: 14px; line-height: 24px; font-weight: 600; }
.map-company { display: block; margin-top: 2px; color: #5263ac; font-size: 13px; line-height: 22px; }
.map-product-arrow { position: absolute; top: 20px; right: 0; color: #7d78d8; }
.map-popover-note { margin: 8px 0 0; color: #65728a; font-size: 11px; line-height: 20px; }
.map-gap { padding: 12px 0; color: #65728a; font-size: 13px; line-height: 22px; }
.map-gap strong, .map-gap span { display: block; }
.map-gap a { color: var(--deep-2); }
.map-footer { display: flex; align-items: start; gap: 32px; margin-top: 16px; }
.map-legend { display: flex; flex-wrap: wrap; flex: 0 0 auto; gap: 16px; padding: 12px 16px; border: 1px solid #dce3f7; border-radius: 12px; color: #626d8b; background: rgb(255 255 255 / 75%); font-size: 12px; line-height: 20px; }
.map-legend span { display: flex; align-items: center; gap: 10px; }
.map-legend i { display: inline-block; width: 40px; }
.legend-flow { position: relative; border-top: 3px solid #9292ef; }
.legend-flow::after { content: ""; position: absolute; top: -6px; right: -1px; width: 0; height: 0; border: 5px solid transparent; border-right: 0; border-left: 8px solid #9292ef; }
.legend-support { border-top: 2px dashed #a4a6eb; }
.map-footer > p { margin: 0; max-width: 790px; color: #65728a; font-size: 13px; line-height: 24px; }
.map-caution { margin: 20px 0 0; padding: 16px 20px; border-radius: 12px; background: #f2effa; color: #685582; font-size: 13px; line-height: 24px; }
.map-bottom-return { display: inline-block; margin-top: 28px; font-size: 14px; line-height: 24px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .map-node { width: 200px; margin-left: 15px; }
  .map-node-label { font-size: 15px; gap: 8px; }
  .map-node-steps { max-width: 180px; font-size: 11px; }
  .map-layout-marketing .map-node { width: 180px; margin-left: 25px; }
  .map-layout-marketing .map-node-label { font-size: 14px; }
  .map-layout-marketing .map-illustration { width: 180px; }
}
@media (max-width: 760px) {
  .map-container { width: calc(100% - 32px); padding: 16px 0 32px; }
  .map-breadcrumb { gap: 12px; margin-bottom: 20px; font-size: 12px; }
  .map-heading { display: block; }
  .map-heading > div { display: block; }
  .map-heading h1 { font-size: 32px; line-height: 44px; }
  .map-eyebrow { display: block; font-size: 13px; line-height: 22px; }
  .map-intro { margin-top: 8px; font-size: 14px; line-height: 26px; }
  .map-switch-label { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 0; }
  .map-switch-label select { width: 180px; height: 40px; }
  .map-help { display: block; margin-top: 16px; font-size: 12px; }
  .map-help > span { display: none; }
  .map-stage { height: auto; margin-top: 20px; }
  .map-connections { display: none; }
  .map-nodes { display: grid; gap: 16px; }
  .map-node { position: relative; left: auto !important; top: auto !important; display: grid; grid-template-columns: 88px minmax(0, 1fr); align-content: center; justify-items: start; column-gap: 16px; width: 100%; min-height: 136px; padding: 20px 16px; border: 1px solid #dee6fa; border-radius: 16px; background: linear-gradient(120deg, #f4f9ff, #edf1ff); text-align: left; }
  .map-node:hover, .map-node[aria-expanded="true"] { background: #eef0ff; border-color: #b2a9eb; }
  .map-illustration { grid-row: 1 / span 3; width: 88px; height: 88px; }
  .map-illustration img, .map-illustration img[src$="map-factory.webp"], .map-illustration img[src$="map-video.webp"], .map-illustration img[src$="map-platform.webp"] { width: 88px; height: 88px; }
  .map-illustration img[src$="map-factory.webp"], .map-illustration img[src$="map-video.webp"] { width: 144px; height: 96px; }
  .map-illustration img[src$="map-platform.webp"] { width: 132px; height: 88px; }
  .map-node-label { justify-content: start; gap: 10px; max-width: 100%; font-size: 15px; line-height: 26px; }
  .map-hotspot { flex-basis: 8px; width: 8px; height: 8px; box-shadow: 0 0 0 4px #e3defe; }
  .map-node-steps { margin-top: 8px; font-size: 11px; line-height: 20px; }
  .map-branch-label { margin-top: 8px; font-size: 10px; }
  .map-mobile-order { position: absolute; top: 6px; right: 12px; display: block; color: #7884a3; font-size: 10px; line-height: 16px; }
  .map-layout-journey .map-node:nth-child(-n+4)::after,
  .map-layout-care .map-node:nth-child(-n+2)::after,
  .map-layout-education .map-node:first-child::after,
  .map-layout-marketing .map-node:nth-child(-n+3)::after { content: "↓"; position: absolute; bottom: -20px; left: 50%; width: 20px; margin-left: -10px; color: #827bd4; font-size: 16px; line-height: 20px; }
  .map-node[aria-expanded="true"] .map-hotspot { box-shadow: 0 0 0 4px #dcd5fc, 0 0 0 5px #a69af4; }
  .map-popover { position: fixed; left: 16px !important; right: 16px; top: auto !important; bottom: 16px; width: auto; max-height: 60dvh; padding: 16px; overflow-y: auto; box-shadow: 0 0 0 100vmax rgb(40 53 92 / 12%), 0 8px 32px rgb(67 83 145 / 20%); }
  .map-product-list { max-height: none; }
  .map-popover-head { position: sticky; top: -16px; padding: 4px 0 8px; z-index: 1; background: #fff; }
  .map-footer { display: grid; gap: 16px; margin-top: 24px; }
  .map-legend { justify-self: start; gap: 12px; font-size: 11px; }
  .map-footer > p { font-size: 12px; line-height: 24px; }
  .map-caution { padding: 16px; font-size: 12px; }
}
@media (max-width: 360px) {
  .map-node { grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; padding: 20px 12px; }
  .map-illustration, .map-illustration img, .map-illustration img[src$="map-factory.webp"], .map-illustration img[src$="map-video.webp"], .map-illustration img[src$="map-platform.webp"] { width: 72px; height: 72px; }
  .map-illustration img[src$="map-factory.webp"], .map-illustration img[src$="map-video.webp"] { width: 120px; height: 80px; }
  .map-illustration img[src$="map-platform.webp"] { width: 108px; height: 72px; }
  .map-node-label { font-size: 14px; }
}
