@import url('./hp-diagram-positions.css');

/* The supplied artwork is the interface, not a backdrop for duplicate cards. */
.hp-page .hp-interactive-figure { width:100%; min-width:0; margin:0; }
.hp-page #hp-activity-timeline { margin:32px 0 44px; scroll-margin-top:110px; }
.hp-page .hp-diagram-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:0 0 12px; color:#67757c; font:400 12px/1.6 'Segoe UI',Arial,sans-serif; }
.hp-diagram-toolbar .hp-plain-button { white-space:nowrap; }
.hp-diagram-viewport { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-color:#b7a0a8 #f5f1f3; scrollbar-width:thin; }
.hp-diagram-canvas { position:relative; width:100%; min-width:760px; }
.hp-diagram-canvas > img { display:block; width:100%; height:auto; }
.hp-diagram-exploration { min-width:860px; }
.hp-diagram-questions { min-width:700px; }
.hp-diagram-modules { min-width:760px; }
.hp-timeline-artwork { display:grid; grid-template-columns:22.552fr 24.74fr 22.604fr 22.604fr; align-items:start; gap:12px; width:100%; min-width:1040px; }
.hp-timeline-image-column { position:relative; min-width:0; overflow:hidden; --hp-node-color:#667f9b; }
.hp-panel-exchange { --hp-node-color:#4f8279; }
.hp-panel-cocreation { --hp-node-color:#a94158; }
.hp-panel-community { --hp-node-color:#89766d; }
.hp-source-window { position:absolute; left:0; width:100%; overflow:hidden; }
.hp-source-window > img { display:block; position:absolute; height:auto; max-width:none; }
.hp-page .hp-diagram-spot { position:absolute; z-index:1; display:block; box-sizing:border-box; margin:0; padding:0; border:1px solid transparent; border-radius:0; background:transparent; text-decoration:none; color:inherit; transition:background-color .18s,border-color .18s,box-shadow .18s; }
.hp-page .hp-diagram-spot:hover,.hp-page .hp-diagram-spot:focus-visible { outline:0; border-color:var(--hp-node-color,#a94158); background:#a9415808; box-shadow:inset 3px 0 0 var(--hp-node-color,#a94158); }
.hp-page .hp-diagram-spot:focus-visible { outline:2px solid #a94158; outline-offset:2px; }
.hp-diagram-spot::after { content:'↗'; position:absolute; right:3px; top:3px; display:grid; place-items:center; width:19px; height:19px; color:#fff; background:#172c38; font:500 13px/1 Arial,sans-serif; opacity:0; transition:opacity .18s; }
.hp-diagram-spot:hover::after,.hp-diagram-spot:focus-visible::after { opacity:1; }
.hp-dialog.is-diagram { width:min(1700px,calc(100% - 40px)); }
.hp-dialog.is-diagram .hp-dialog-content { padding:22px; }
.hp-dialog.is-diagram .hp-diagram-canvas { min-width:1100px; }
.hp-dialog.is-diagram .hp-diagram-exploration { min-width:1250px; }
.hp-dialog.is-diagram .hp-timeline-artwork { min-width:1400px; }
.hp-diagram-return { margin-bottom:24px; }
.hp-page .hp-map-viewport { background:#fff; }
.hp-page .hp-expert-hotspot:hover,.hp-page .hp-expert-hotspot:focus-visible { border-color:#a94158; background:#a9415809; box-shadow:0 0 0 2px #fff; }
.hp-page .spot-shougang-lanzatech::after { content:none; }

@media (max-width:700px) {
  .hp-page .hp-diagram-toolbar { align-items:flex-start; gap:12px; font-size:11px; }
  .hp-diagram-toolbar > span { max-width:190px; }
  .hp-diagram-toolbar .hp-plain-button { font-size:11px !important; }
  .hp-diagram-viewport { padding-bottom:8px; }
  .hp-timeline-artwork { min-width:1340px; gap:12px; }
  .hp-dialog.is-diagram { width:calc(100% - 20px); }
  .hp-dialog.is-diagram .hp-dialog-content { padding:10px; }
}
@media (prefers-reduced-motion:reduce) {
  .hp-diagram-spot,.hp-diagram-spot::after { transition:none; }
}
@media print {
  .hp-diagram-toolbar,.hp-diagram-spot { display:none !important; }
  .hp-diagram-viewport { overflow:visible; }
  .hp-diagram-canvas,.hp-timeline-artwork { min-width:0 !important; }
}
