/* Technology portal: layout and motion adapted from sample/technology/index.html. */
.technology-page {
      --bg-white: #fbfdfd;
      --black-main: #08080a;
      --black-soft: #16161a;
      --red-main: #bc1116;
      --red-glow: #ed1c24;
      --glass-white: rgba(255, 255, 255, 0.92);
      --border-black: rgba(8, 8, 10, 0.2);
    }

    .technology-page,
.technology-page * { margin: 0; padding: 0; box-sizing: border-box; user-select: none; }
    .technology-page { width: 100%; height: 100%; overflow: hidden; position: relative; isolation: isolate; contain: layout paint style; overscroll-behavior: none; background: transparent; font-family: Arial, sans-serif; color: var(--black-main); }

    /* CANVAS LAYERS */
    #bgCanvas {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
    }

    #globeCanvas {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 100%;
      z-index: 3;
      pointer-events: none;
    }

    /* Target Corners */
    .corner-target {
      display: none;
    }
    .ct-tl { top: 20px; left: 20px; border-right: none; border-bottom: none; }
    .ct-tr { top: 20px; right: 20px; border-left: none; border-bottom: none; }
    .ct-bl { bottom: 20px; left: 20px; border-right: none; border-top: none; }
    .ct-br { bottom: 20px; right: 20px; border-left: none; border-top: none; }

    /* STAGE CONTAINER */
    .hud-stage {
      position: relative;
      width: 100%;
      height: 100%;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* SCI-FI AI WINGS */
    .side-wing {
      position: absolute;
      top: 0;
      bottom: 0;
      height: 100%;
      width: calc(50vw - 165px);
      z-index: 12;
      cursor: default;
      transition: transform 180ms cubic-bezier(.22, .61, .36, 1);
      will-change: transform;
    }

    .wing-left { left: 0; }
    .wing-right { right: 0; }

    .wing-svg {
      width: 100%;
      height: 100%;
      overflow: visible;
    }

    .wing-svg * { pointer-events: none; }
    .wing-svg .wing-panel-glass {
      pointer-events: all;
      cursor: pointer;
    }

    .wing-svg .wing-panel-glass:focus {
      outline: none;
      stroke: none;
    }

    .wing-svg .wing-panel-glass:focus + .wing-structure-border {
      stroke: var(--red-main);
    }

    .wing-panel-glass {
      fill: var(--glass-white);
      stroke: none;
      transition: fill 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .wing-structure-border {
      fill: none;
      stroke: var(--black-main);
      stroke-width: 2.5;
      transition: stroke 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .wing-laser-border {
      fill: none;
      stroke: var(--red-main);
      stroke-width: 3.5;
      stroke-dasharray: 250 1200;
      stroke-dashoffset: 1200;
      transition: stroke-dashoffset 0.8s ease, filter 0.3s ease;
    }

    .neural-line {
      fill: none;
      stroke: var(--black-main);
      stroke-width: 1.2;
      stroke-dasharray: 6 6;
      opacity: 0.35;
    }

    .neural-node {
      fill: var(--red-main);
      transition: transform 0.3s ease;
    }

    /* HOVER EFFECTS */
    .side-wing.is-triangle-hover .wing-panel-glass {
      fill: rgba(188, 17, 22, 0.10);
    }

    .side-wing.is-triangle-hover .wing-structure-border {
      stroke: var(--red-main);
    }

    .side-wing.is-triangle-hover .wing-laser-border {
      stroke-dashoffset: 0;
    }

    .side-wing.is-triangle-hover .neural-node {
      transform: scale(1.5);
    }

    /* ===== SCI-FI TRIANGLE REACTOR & HUD DECOR ===== */
    .tri-ring { fill: none; }
    .tri-r1 { stroke: rgba(8, 8, 10, 0.28); stroke-width: 2; }
    .tri-r2 {
      stroke: rgba(188, 17, 22, 0.6);
      stroke-width: 2.5;
      stroke-dasharray: 14 8;
      transform-box: fill-box;
      transform-origin: center;
      animation: dashFlow22 7s linear infinite, orbitSpin 26s linear infinite reverse;
    }
    .tri-r3 { stroke: rgba(8, 8, 10, 0.5); stroke-width: 1.8; }

    .tri-core {
      fill: var(--red-main);
      transform-box: fill-box;
      transform-origin: center;
      filter: drop-shadow(0 0 10px rgba(188, 17, 22, 0.55));
      animation: triPulse 2.2s ease-in-out infinite;
    }

    .orbit-ring {
      fill: none;
      stroke: rgba(188, 17, 22, 0.35);
      stroke-width: 1.2;
      stroke-dasharray: 4 10;
      transform-box: fill-box;
      transform-origin: center;
      animation: orbitSpin 14s linear infinite;
    }
    .orbit-outer {
      stroke: rgba(8, 8, 10, 0.22);
      stroke-dasharray: 2 14;
      animation-duration: 26s;
      animation-direction: reverse;
    }

    .circuit-trace {
      fill: none;
      stroke: rgba(8, 8, 10, 0.4);
      stroke-width: 1.5;
      stroke-dasharray: 46 300;
      animation: dashFlow 3.2s linear infinite;
    }
    .circuit-trace.ct-b { animation-delay: -1.6s; }
    .circuit-dot { fill: var(--red-main); }

    .tick-mark { stroke: rgba(8, 8, 10, 0.35); stroke-width: 1.5; }

    .data-block {
      fill: rgba(8, 8, 10, 0.22);
      animation: blockBlink 1.8s ease-in-out infinite;
    }
    .db-red { fill: rgba(188, 17, 22, 0.55); }

    .tri-pulse {
      fill: none;
      stroke: var(--red-main);
      stroke-width: 3;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 70 743.8;
      filter: drop-shadow(0 0 6px var(--red-main));
      animation: triPulseRun 4.5s linear infinite;
    }

    .tri-vertex {
      fill: #fbfdfd;
      stroke: var(--red-main);
      stroke-width: 2.5;
      filter: drop-shadow(0 0 5px rgba(188, 17, 22, 0.6));
    }

    .hud-bracket {
      fill: none;
      stroke: rgba(8, 8, 10, 0.45);
      stroke-width: 2;
      transition: stroke 0.3s ease;
    }

    .sat-dot {
      fill: var(--red-main);
      filter: drop-shadow(0 0 5px rgba(188, 17, 22, 0.7));
    }
    .sat-orbit, .sat-orbit-r { animation: orbitSpin 12s linear infinite; }
    .sat-orbit { transform-origin: 352px 500px; }
    .sat-orbit-r { transform-origin: 148px 500px; }

    .data-beam {
      stroke: var(--red-main);
      stroke-width: 2;
      stroke-dasharray: 4 6;
      filter: drop-shadow(0 0 4px rgba(188, 17, 22, 0.7));
      animation: beamFlow 0.9s linear infinite;
    }

    .eq-bars rect {
      fill: rgba(8, 8, 10, 0.35);
      transform-box: fill-box;
      transform-origin: center bottom;
      animation: eqBounce 1.5s ease-in-out infinite;
    }
    .eq-bars rect:nth-child(1) { animation-delay: 0s; }
    .eq-bars rect:nth-child(2) { animation-delay: 0.25s; }
    .eq-bars rect:nth-child(3) { animation-delay: 0.5s; }
    .eq-bars rect:nth-child(4) { animation-delay: 0.75s; }
    .eq-bars rect:nth-child(5) { animation-delay: 1s; }

    .scan-line {
      stroke: var(--red-main);
      stroke-width: 2;
      opacity: 0;
      filter: drop-shadow(0 0 6px var(--red-main));
      animation: scanY 6s linear infinite;
    }

    @keyframes triPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.8); opacity: 0.5; } }
    @keyframes orbitSpin { to { transform: rotate(360deg); } }
    @keyframes dashFlow { to { stroke-dashoffset: -346; } }
    @keyframes dashFlow22 { to { stroke-dashoffset: -220; } }
    @keyframes blockBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }
    @keyframes accentBlink { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.25; } }
    @keyframes triPulseRun { to { stroke-dashoffset: -813.8; } }
    @keyframes beamFlow { to { stroke-dashoffset: -10; } }
    @keyframes eqBounce { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
    @keyframes scanY {
      0% { transform: translateY(-30px); opacity: 0; }
      6% { opacity: 0.65; }
      94% { opacity: 0.65; }
      100% { transform: translateY(1030px); opacity: 0; }
    }

    /* ===== ARC REACTOR CORE (Iron-Man style) ===== */
    .reactor-svg {
      position: absolute;
      inset: -60px;
      width: calc(100% + 120px);
      height: calc(100% + 120px);
      z-index: 21;
      pointer-events: none;
      overflow: visible;
      transition: filter 0.4s ease;
    }

    .reactor-coil-bolt { fill: var(--red-main); }
    .reactor-coil-bolt--light { fill: #ffffff; }

    /* Refine the central reactor linework without changing its geometry. */
    .reactor-svg g > g > rect[stroke] { stroke-width: .8; }
    .reactor-svg > circle[stroke-width="36"] { stroke-width: 16; }
    .reactor-svg circle[stroke-width="1.5"] { stroke-width: .6; }
    .reactor-svg circle[stroke-width="2.5"] { stroke-width: 1; }
    .reactor-svg circle[stroke-width="3"] { stroke-width: 1.2; }
    .reactor-svg .reactor-segments-outline { stroke-width: 9; }
    .reactor-svg .reactor-segments-fill { stroke-width: 5.5; }
    .reactor-svg .reactor-swirl.s1 { stroke-width: 2.5; }
    .reactor-svg .reactor-swirl.s2 { stroke-width: 1.6; }
    .core-ai-symbol circle[stroke-width="5"] { stroke-width: 2; }
    .core-ai-symbol circle[stroke-width="2.5"] { stroke-width: 1; }
    .core-ai-symbol circle[stroke-width="3"] { stroke-width: 1.2; }

    .reactor-swirl {
      fill: none;
      stroke-linecap: round;
      transform-box: fill-box;
      transform-origin: center;
    }
    .reactor-swirl.s1 { animation: orbitSpin 9s linear infinite; }
    .reactor-swirl.s2 { animation: orbitSpin 6.5s linear infinite reverse; }
    .reactor-swirl.s3 { animation: orbitSpin 12s linear infinite; }

    .core-halo { transition: opacity 0.4s ease; }
    .core-rim { transition: stroke 0.3s ease; }

    .center-orb-wrapper:hover .reactor-svg { filter: drop-shadow(0 0 30px rgba(188, 17, 22, 0.35)); }
    .center-orb-wrapper:hover .core-halo { opacity: 1; }
    .center-orb-wrapper:hover .core-rim { stroke: var(--red-main); }

    .side-wing.is-triangle-hover .tri-r1 { stroke: rgba(8, 8, 10, 0.5); }
    .side-wing.is-triangle-hover .tri-r2 { stroke: var(--red-main); }
    .side-wing.is-triangle-hover .orbit-ring { stroke: rgba(188, 17, 22, 0.7); }
    .side-wing.is-triangle-hover .hud-bracket { stroke: var(--red-main); }
    .side-wing.is-triangle-hover .tri-vertex { fill: var(--red-main); }
    .side-wing.is-triangle-hover .eq-bars rect { fill: rgba(188, 17, 22, 0.55); }
    .side-wing.is-triangle-hover .data-beam { stroke-width: 3; }

    /* TERMINAL OVERLAY */
    .wing-terminal-box {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 320px;
      z-index: 15;
      pointer-events: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .wing-left .wing-terminal-box { left: 12%; text-align: left; }
    .wing-right .wing-terminal-box { right: 12%; text-align: right; }

    .wing-title {
      font-family: 'Space', Arial, sans-serif;
      font-size: clamp(24px, 2.8vw, 40px);
      font-weight: 900;
      color: var(--black-main);
      text-transform: uppercase;
      letter-spacing: -0.01em;
      line-height: 0.95;
      white-space: nowrap;
      transition: color 0.3s ease, transform 0.3s ease;
    }

    .wing-left .wing-title {
      font-family: Arial, sans-serif;
    }

    .wing-read-more {
      position: absolute;
      top: calc(100% + 14px);
      margin: 0;
      color: var(--red-main);
      font-family: 'Space', Arial, sans-serif;
      font-size: clamp(11px, .9vw, 14px);
      font-weight: 700;
      letter-spacing: .08em;
      line-height: 1;
      white-space: nowrap;
      opacity: 0;
      transition: opacity .25s ease, transform .35s cubic-bezier(.22, .61, .36, 1);
    }

    .wing-read-more span {
      display: inline-block;
      letter-spacing: .02em;
    }

    .wing-left .wing-read-more {
      left: 0;
      transform: translateX(-12px);
    }

    .wing-right .wing-read-more {
      right: 0;
      transform: translateX(12px);
    }

    .side-wing.is-triangle-hover .wing-read-more {
      opacity: 1;
      transform: translateX(0);
    }

    .side-wing.is-triangle-hover .wing-title {
      color: var(--red-main);
      transform: scale(1.03);
    }

    .wing-left.is-triangle-hover .wing-title { transform-origin: left center; }
    .wing-right.is-triangle-hover .wing-title { transform-origin: right center; }

    /* CENTER ORB */
    .center-orb-wrapper {
      position: relative;
      width: 380px;
      height: 380px;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: center;
      will-change: transform;
      transform-style: preserve-3d;
    }

    .hud-ring {
      position: absolute;
      inset: -15px;
      border-radius: 50%;
      pointer-events: none;
    }

    .hud-ring-1 {
      border: .75px dashed var(--red-main);
      animation: rotateCW 25s linear infinite;
    }

    .hud-ring-2 {
      inset: -32px;
      border: 1.25px solid transparent;
      border-top-width: 1.5px;
      border-top-color: var(--black-main);
      border-bottom-width: 1.5px;
      border-bottom-color: var(--red-main);
      animation: rotateCCW 18s linear infinite;
    }

    .hud-ring-3 {
      inset: -52px;
      border: .4px solid var(--border-black);
      stroke-dasharray: 6 10;
      animation: rotateCW 50s linear infinite;
    }

    @keyframes rotateCW { 100% { transform: rotate(360deg); } }
    @keyframes rotateCCW { 100% { transform: rotate(-360deg); } }

    .center-card {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: transparent;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 35px;
      cursor: pointer;
      transition: transform 0.4s ease;
      z-index: 22;
    }

    .center-card:hover { transform: scale(1.03); }

    .core-ai-symbol {
      width: 58px;
      height: 58px;
      margin-bottom: 10px;
      position: relative;
    }

    .core-ai-symbol svg { width: 100%; height: 100%; }

    .main-title-text {
      font-family: 'Space', Arial, sans-serif;
      font-size: clamp(30px, 2.8vw, 40px);
      font-weight: 900;
      line-height: 0.95;
      letter-spacing: -0.02em;
      color: #BC1116;
      margin-bottom: 10px;
    }

    .main-title-text span {
      display: block;
      font-size: 0.55em;
      font-weight: 700;
      color: var(--black-main);
      letter-spacing: 0.18em;
      margin-top: 4px;
    }

/* THREE-PANEL TECHNOLOGY PORTAL */
.technology-viewport {
  position: absolute;
  inset: 0;
  z-index: 10;
  overflow: hidden;
}

.technology-track {
  display: flex;
  width: 300%;
  height: 100%;
  transform: translate3d(-33.333333%, 0, 0);
  transition: transform 820ms cubic-bezier(.77, 0, .18, 1);
  will-change: transform;
}

.technology-page[data-portal-view="license"] .technology-track {
  transform: translate3d(0, 0, 0);
}

.technology-page[data-portal-view="tools"] .technology-track {
  transform: translate3d(-66.666667%, 0, 0);
}

.technology-panel {
  position: relative;
  flex: 0 0 33.333333%;
  width: 33.333333%;
  min-width: 0;
  height: 100%;
}

.technology-panel--center {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.technology-panel--detail {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-anchor: none;
  padding: 52px clamp(32px, 5vw, 92px);
  background: transparent;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
  touch-action: pan-y;
}

.technology-panel--detail::-webkit-scrollbar {
  width: 6px;
}

.technology-panel--detail::-webkit-scrollbar-track,
.technology-panel--detail::-webkit-scrollbar-thumb {
  background: transparent;
}

.technology-panel--detail::-webkit-scrollbar-button {
  display: none;
}

.technology-page[data-portal-view="license"]:not(.is-transitioning) .technology-panel--license,
.technology-page[data-portal-view="tools"]:not(.is-transitioning) .technology-panel--tools {
  scrollbar-color: rgba(188, 17, 22, .42) transparent;
}

.technology-page[data-portal-view="license"]:not(.is-transitioning) .technology-panel--license::-webkit-scrollbar-thumb,
.technology-page[data-portal-view="tools"]:not(.is-transitioning) .technology-panel--tools::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(188, 17, 22, .42);
}

.technology-page[data-portal-view="license"]:not(.is-transitioning) .technology-panel--license::-webkit-scrollbar-thumb:hover,
.technology-page[data-portal-view="tools"]:not(.is-transitioning) .technology-panel--tools::-webkit-scrollbar-thumb:hover {
  background: rgba(188, 17, 22, .68);
}

.technology-panel--license {
  padding-right: max(100px, clamp(32px, 5vw, 92px));
  border-right: 1px solid rgba(188, 17, 22, .25);
}

.technology-panel--tools {
  border-left: 1px solid rgba(188, 17, 22, .25);
}

/* TOOL SHOP — Revit-inspired application ribbon. The workspace deliberately
   remains empty until the catalog body is designed. */
.technology-panel--tools {
  align-items: flex-start;
  padding-top: 0;
  padding-left: max(100px, clamp(32px, 5vw, 92px));
  padding-bottom: 12px;
  background: transparent;
}

.technology-panel--tools .tool-shop-shell {
  display: flex;
  flex-direction: column;
  width: min(1600px, 100%);
  height: calc(100% - 4px);
  min-height: 0;
  max-height: calc(100% - 4px);
  margin-block: 0 auto;
  padding: 0;
  overflow: hidden;
}

.technology-panel--tools .tool-shop-shell::before,
.technology-panel--tools .tool-shop-shell::after {
  z-index: 6;
}

.tool-ribbon-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.tool-ribbon {
  --ribbon-top: #222a36;
  --ribbon-main: #3d4757;
  --ribbon-deep: #2d3644;
  --ribbon-line: #566172;
  --ribbon-text: #f4f6f8;
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  color: var(--ribbon-text);
  background: var(--ribbon-main);
  font-family: "Segoe UI", Arial, sans-serif;
  box-shadow: 0 3px 11px rgba(8, 8, 10, .18);
  opacity: 0;
  transform: translate3d(42px, 0, 0);
  transition: opacity .4s ease 330ms, transform .65s cubic-bezier(.22, .61, .36, 1) 330ms;
}

.technology-page[data-portal-view="tools"] .tool-ribbon {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.tool-ribbon button {
  min-width: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.tool-ribbon button:focus-visible {
  outline: 1px solid #fff;
  outline-offset: -2px;
}

.tool-ribbon-titlebar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 28px;
  padding: 0 9px 0 5px;
  background: var(--ribbon-top);
  border-bottom: 1px solid #111721;
  font-size: 11px;
}

.tool-ribbon-titlebar p {
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .01em;
  white-space: nowrap;
}

.tool-ribbon-titlebar p span { color: #cbd1da; }

.tool-ribbon-quick {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.tool-ribbon-appmark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: var(--red-main);
  font-family: 'Space', Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.tool-ribbon-mini {
  position: relative;
  display: block;
  width: 13px;
  height: 13px;
  opacity: .82;
}

.tool-ribbon-mini--menu {
  background: repeating-linear-gradient(to bottom, #dbe1e8 0 1px, transparent 1px 4px);
}

.tool-ribbon-mini--save {
  border: 1px solid #dbe1e8;
  border-radius: 1px;
}

.tool-ribbon-mini--save::before {
  content: "";
  position: absolute;
  inset: 2px 2px 6px;
  border: 1px solid #dbe1e8;
}

.tool-ribbon-mini--undo {
  border-top: 1px solid #dbe1e8;
  border-left: 1px solid #dbe1e8;
  border-radius: 8px 0 0;
  transform: rotate(-30deg);
}

.tool-ribbon-window {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.tool-ribbon-window i {
  position: relative;
  width: 10px;
  height: 10px;
}

.tool-ribbon-window i:first-child::before {
  content: "";
  position: absolute;
  top: 5px;
  width: 10px;
  height: 1px;
  background: #fff;
}

.tool-ribbon-window i:nth-child(2) { border: 1px solid #fff; }
.tool-ribbon-window i:last-child::before,
.tool-ribbon-window i:last-child::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 12px;
  height: 1px;
  background: #fff;
  transform: rotate(45deg);
}
.tool-ribbon-window i:last-child::after { transform: rotate(-45deg); }

.tool-ribbon-tabs {
  display: flex;
  align-items: stretch;
  height: 27px;
  padding-left: 4px;
  background: var(--ribbon-top);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.tool-ribbon-tabs::-webkit-scrollbar,
.tool-ribbon-deck::-webkit-scrollbar,
.tool-ribbon-worktabs::-webkit-scrollbar { display: none; }

.tool-ribbon-tabs button {
  position: relative;
  flex: 0 0 auto;
  height: 27px;
  padding: 0 13px;
  color: #f5f6f7;
  font-size: 11px;
  line-height: 27px;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.tool-ribbon-tabs button:not(.tool-ribbon-file):hover { background: rgba(255,255,255,.09); }

.tool-ribbon-tabs .tool-ribbon-file {
  margin-left: -4px;
  padding-inline: 14px;
  background: var(--red-main);
  font-weight: 600;
}

.tool-ribbon-tabs button.is-active {
  color: var(--ribbon-top);
  background: #f0f2f4;
}

.tool-ribbon-tabs button.is-active::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--red-main);
}

.tool-ribbon-deck {
  display: flex;
  height: 86px;
  padding: 4px 6px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  color: #17202d;
  background: linear-gradient(#f4f6f8, #dfe3e8);
  border-bottom: 1px solid #8d96a3;
}

.tool-ribbon-panel {
  display: none;
  flex: 0 0 100%;
  height: 81px;
}

.tool-ribbon-panel.is-active {
  display: flex;
}

.tool-ribbon-group {
  position: relative;
  flex: 0 0 auto;
  min-width: 150px;
  height: 81px;
  padding: 1px 8px 15px;
  border-right: 1px solid #aeb5be;
  box-shadow: 1px 0 rgba(255,255,255,.8);
}

.tool-ribbon-group--featured {
  min-width: 74px;
  padding-inline: 5px;
}

.tool-ribbon-group--layout {
  min-width: 292px;
}

.tool-ribbon-group > small {
  position: absolute;
  right: 5px;
  bottom: 2px;
  left: 5px;
  overflow: hidden;
  color: #59626e;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-ribbon-commands {
  display: flex;
  align-items: flex-start;
  gap: 3px;
}

.tool-ribbon-command {
  position: relative;
  display: flex;
  flex: 0 0 55px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 63px;
  padding: 2px 3px 1px;
  border: 1px solid transparent !important;
  border-radius: 2px;
  color: #202936 !important;
  font-size: 10px !important;
  line-height: 1.1;
  text-align: center;
  transition: border-color .15s ease, background .15s ease;
}

.tool-ribbon-command:hover {
  border-color: #9aa5b2 !important;
  background: linear-gradient(#fff, #d9e5ef) !important;
}

.tool-ribbon-command svg,
.tool-ribbon-command-image {
  width: 35px;
  height: 35px;
  margin-bottom: 2px;
  overflow: visible;
  fill: rgba(188, 17, 22, .13);
  stroke: #253140;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-ribbon-command-image {
  object-fit: contain;
}

.tool-ribbon-command:nth-child(even) svg {
  fill: rgba(56, 130, 176, .14);
  stroke: #2d6e99;
}

.tool-ribbon-command--large {
  width: 62px;
  min-height: 70px;
}

.tool-ribbon-command--layout {
  flex-basis: 66px;
}

.tool-ribbon-command--layout svg,
.tool-ribbon-command--layout .tool-ribbon-command-image {
  width: 34px;
  height: 34px;
}

.tool-ribbon-command--large svg {
  width: 39px;
  height: 39px;
  fill: rgba(188, 17, 22, .24);
  stroke: var(--red-main);
}

.tool-ribbon-command--large b {
  position: absolute;
  right: 3px;
  bottom: 5px;
  width: 0;
  height: 0;
  border-top: 3px solid #202936;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
}

.tool-ribbon-shortcuts {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 22px;
  padding: 0 8px;
  color: #e8ebef;
  background: var(--ribbon-deep);
  border-bottom: 1px solid #171d27;
}

.tool-ribbon-shortcuts button {
  display: grid;
  place-items: center;
  width: 16px;
  height: 17px;
}

.tool-ribbon-shortcuts > i {
  width: 1px;
  height: 13px;
  background: #687282;
}

.shortcut-folder,
.shortcut-save,
.shortcut-arrow {
  position: relative;
  display: block;
  width: 13px;
  height: 10px;
}

.shortcut-folder {
  border: 1px solid #e9edf1;
  border-radius: 1px;
}
.shortcut-folder::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 6px;
  height: 3px;
  border: 1px solid #e9edf1;
  border-bottom: 0;
}
.shortcut-save { border: 1px solid #e9edf1; }
.shortcut-save::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 1px;
  left: 2px;
  height: 3px;
  border: 1px solid #e9edf1;
}
.shortcut-arrow {
  width: 9px;
  height: 9px;
  border-top: 1px solid #e9edf1;
  border-right: 1px solid #e9edf1;
  transform: rotate(45deg);
}
.shortcut-arrow--left { transform: rotate(-135deg); }

.tool-ribbon-ready {
  margin-left: auto;
  color: #aeb7c3;
  font-size: 9px;
  letter-spacing: .1em;
}

.tool-ribbon-ready b {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: #72bf77;
  box-shadow: 0 0 5px rgba(114,191,119,.7);
}

.tool-ribbon-worktabs {
  display: flex;
  align-items: stretch;
  height: 26px;
  color: #dfe4ea;
  background: var(--ribbon-main);
  border-bottom: 2px solid #242c38;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.tool-ribbon-browser {
  flex: 0 0 190px;
  padding: 5px 8px 0;
  border-right: 1px solid #242c38;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}

.tool-ribbon-worktabs button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 142px;
  padding: 0 13px;
  border-right: 1px solid #29313e;
  font-size: 10px;
  text-align: left;
}

.tool-ribbon-worktabs .tool-ribbon-document-tab {
  flex: 1 1 178px;
  width: 178px;
  min-width: 68px;
  max-width: 178px;
  padding-right: 36px;
}

.tool-ribbon-worktabs .tool-ribbon-document-tab > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-ribbon-worktabs .tool-ribbon-document-tab[hidden] {
  display: none;
}

.tool-ribbon-worktabs button > b {
  width: 8px;
  height: 8px;
  border: 1px solid #cfd5dc;
}

.tool-ribbon-worktabs button svg {
  width: 16px;
  height: 16px;
  fill: rgba(188,17,22,.25);
  stroke: #f0f2f4;
  stroke-width: 2;
}

.tool-ribbon-worktabs button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.tool-ribbon-worktabs button.is-active {
  color: #fff;
  background: #333d4c;
  font-weight: 600;
}

.tool-ribbon-worktabs button.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 3px;
  background: var(--red-main);
}

.tool-ribbon-worktabs button i {
  position: absolute;
  right: 9px;
  width: 9px;
  height: 9px;
}
.tool-ribbon-worktabs button i::before,
.tool-ribbon-worktabs button i::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 10px;
  height: 1px;
  background: #cbd1da;
  transform: rotate(45deg);
}
.tool-ribbon-worktabs button i::after { transform: rotate(-45deg); }

.tool-ribbon-worktabs .tool-ribbon-document-tab i {
  display: block;
  right: 6px;
  width: 20px;
  height: 18px;
  border-radius: 2px;
  cursor: pointer;
  transition: background .18s ease;
}

.tool-ribbon-worktabs .tool-ribbon-document-tab i:hover,
.tool-ribbon-worktabs .tool-ribbon-document-tab i:focus-visible {
  background: var(--red-main);
  outline: 1px solid rgba(255,255,255,.7);
  outline-offset: -1px;
}

.tool-ribbon-worktabs .tool-ribbon-document-tab i::before,
.tool-ribbon-worktabs .tool-ribbon-document-tab i::after {
  top: 8px;
  left: 5px;
}

.tool-ribbon-spacer {
  flex: 1 0 40px;
  border-left: 1px solid #586274;
}

.tool-shop-workspace {
  flex: 1 1 auto;
  min-height: 0;
}

/* Three-column welcome state shown before a ribbon tool is selected. */
.tool-shop-home {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(0, 3fr) minmax(260px, 1.15fr);
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: #202936;
  font-family: Arial, sans-serif;
  animation: toolHomeReveal .5s cubic-bezier(.22, .61, .36, 1) both;
}

.tool-shop-home[hidden] { display: none; }

.tool-shop-home::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .46;
  background:
    linear-gradient(rgba(45, 54, 68, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 54, 68, .08) 1px, transparent 1px),
    radial-gradient(circle at 50% 40%, rgba(255,255,255,.98), rgba(255,255,255,.62) 52%, transparent 78%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  pointer-events: none;
}

.tool-shop-home-heading {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 64px);
  text-align: center;
}

.tool-shop-home-side--overview {
  grid-column: 1;
  grid-row: 1;
}

.tool-shop-home-side--guide {
  grid-column: 3;
  grid-row: 1;
}

.tool-shop-home-side {
  height: 100%;
  min-height: 0;
}

.tool-shop-home-side .tool-product-description {
  max-width: 250px;
}

.tool-shop-home-heading > p {
  margin: 0 0 7px;
  color: var(--red-main);
  font-family: 'Space', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.tool-shop-home-heading > p span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 19px;
  margin-right: 8px;
  color: #fff;
  background: var(--red-main);
  letter-spacing: 0;
}

.tool-shop-home-heading h2 {
  margin: 0;
  color: #08080a;
  font-family: 'Space', Arial, sans-serif;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .95;
}

.tool-shop-home-heading h2 b {
  color: #BC1116;
  font-weight: inherit;
}

.tool-shop-home-heading > .tool-shop-home-description {
  max-width: 820px;
  margin: 12px auto 0;
  color: #565e69;
  font-family: Arial, sans-serif;
  font-size: clamp(10px, .8vw, 12px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

.tool-shop-home-prompt {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  margin-top: 14px;
  color: #69717c;
  font-family: 'Space', Arial, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
}

.tool-shop-home-prompt i {
  height: 1px;
  background: #b9bec5;
}

.tool-shop-home-prompt i:first-child {
  background: linear-gradient(90deg, transparent, #b9bec5);
}

.tool-shop-home-prompt i:last-child {
  background: linear-gradient(90deg, #b9bec5, transparent);
}

.tool-shop-home-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.25vw, 18px);
  width: min(1320px, 100%);
  margin: 0 auto;
}

.tool-shop-home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: clamp(150px, 19vh, 185px);
  padding: clamp(12px, 1.15vw, 17px);
  overflow: hidden;
  border: 1px solid rgba(45, 54, 68, .28);
  border-radius: 0;
  color: #171c24;
  background: rgba(255,255,255,.84);
  box-shadow: 0 8px 24px rgba(27, 34, 44, .035);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.tool-shop-home-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 44px;
  height: 3px;
  background: var(--red-main);
  transition: width .3s ease;
}

.tool-shop-home-card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-main);
}

.tool-shop-home-card:hover,
.tool-shop-home-card:focus-visible {
  z-index: 1;
  border-color: rgba(188, 17, 22, .62);
  outline: none;
  background: rgba(255,255,255,.98);
  box-shadow: 0 15px 34px rgba(27, 34, 44, .13);
  transform: translateY(-5px);
}

.tool-shop-home-card:hover::before,
.tool-shop-home-card:focus-visible::before { width: 100%; }

.tool-shop-home-card-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 16px;
  color: #9298a0;
  font-family: 'Space', Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.tool-shop-home-card-code b {
  padding: 3px 5px;
  color: #fff;
  background: var(--red-main);
  font-size: 7px;
  letter-spacing: .08em;
}

.tool-shop-home-card > svg {
  width: clamp(39px, 3.4vw, 52px);
  height: clamp(39px, 3.4vw, 52px);
  margin: clamp(7px, 1vh, 11px) 0 6px;
  overflow: visible;
  fill: rgba(188,17,22,.1);
  stroke: #303a49;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-shop-home-card:nth-child(even) > svg {
  fill: rgba(45,110,153,.1);
  stroke: #2d6e99;
}

.tool-shop-home-card > strong {
  font-family: 'Space', Arial, sans-serif;
  font-size: clamp(16px, 1.35vw, 21px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .92;
}

.tool-shop-home-card > small {
  margin-top: 9px;
  color: #69717c;
  font-size: clamp(10px, .78vw, 12px);
  line-height: 1.35;
}

.tool-shop-home-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(45, 54, 68, .16);
}

.tool-shop-home-card-footer b {
  color: #202936;
  font-family: 'Space', Arial, sans-serif;
  font-size: clamp(17px, 1.45vw, 22px);
}

.tool-shop-home-card-footer i {
  color: var(--red-main);
  font-family: 'Space', Arial, sans-serif;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.tool-shop-home-status {
  display: none;
  width: min(1320px, 100%);
  margin: clamp(14px, 2vh, 21px) auto 0;
  color: #858c95;
  font-family: 'Space', Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .12em;
  text-align: right;
}

.tool-shop-home-status span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #72bf77;
  box-shadow: 0 0 5px rgba(114,191,119,.7);
}

.tool-shop-home-status b {
  margin-inline: 6px;
  color: var(--red-main);
}

.tool-shop-home-status:not(.tool-shop-home-status--current) {
  display: none;
}

/* Selected tool workspace: equal dark sidebars around a flexible media panel. */
.tool-product-view {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(0, 3fr) minmax(260px, 1.15fr);
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(8, 8, 10, .18);
  background: rgba(255, 255, 255, .94);
}

.tool-product-view[hidden] { display: none; }

.tool-product-panel {
  position: relative;
  min-width: 0;
  opacity: 0;
  animation: toolPanelReveal .42s cubic-bezier(.22, .61, .36, 1) forwards;
}

.tool-product-panel--about,
.tool-product-panel--guide {
  padding: clamp(17px, 1.5vw, 24px);
  overflow-x: hidden;
  overflow-y: auto;
  color: #f4f6f8;
  background:
    linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 12px),
    #303a49;
  font-family: Arial, sans-serif;
}

.tool-product-panel--about *,
.tool-product-panel--guide * {
  font-family: Arial, sans-serif;
}

.tool-product-panel--about {
  border-left: 3px solid var(--red-main);
  animation-delay: 0ms;
}

.tool-product-panel--guide {
  padding-bottom: 62px;
  border-right: 3px solid var(--red-main);
  animation-delay: 100ms;
}

.tool-product-panel--media {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-inline: 1px solid #8d96a3;
  color: #202936;
  background: rgba(255,255,255,.96);
  animation-delay: 50ms;
}

.tool-product-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  font-family: 'Space', Arial, sans-serif;
}

.tool-product-panel-heading span {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.tool-product-panel-heading small {
  color: #aeb7c3;
  font-size: 8px;
  letter-spacing: .12em;
}

.tool-product-icon {
  width: 48px;
  height: 48px;
  margin: 14px 0 8px;
  fill: rgba(255,255,255,.06);
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-product-icon-image {
  display: block;
  object-fit: contain;
}

.tool-product-icon-image[hidden] { display: none; }

.tool-product-panel h2 {
  margin: 0;
  font-family: 'Space', Arial, sans-serif;
  font-size: clamp(20px, 1.45vw, 26px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1;
  text-transform: uppercase;
}

.tool-product-panel--about h2,
.tool-product-panel--guide h2,
.tool-product-panel--about .tool-product-panel-heading,
.tool-product-panel--guide .tool-product-panel-heading,
.tool-product-panel--guide .tool-product-steps li > b {
  font-family: Arial, sans-serif;
}

.tool-product-tagline {
  margin: 8px 0 0;
  color: #ff777b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tool-product-description {
  margin: 13px 0 0;
  color: #cbd1da;
  font-size: 12px;
  line-height: 1.5;
}

.tool-product-features {
  display: grid;
  gap: 7px;
  margin: 15px 0 0;
  list-style: none;
}

.tool-product-features li {
  position: relative;
  padding: 0 0 0 13px;
  color: #f0f2f4;
  font-size: 11px;
  line-height: 1.35;
}

.tool-product-features li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 5px;
  height: 5px;
  border: 1px solid #ff777b;
  transform: rotate(45deg);
}

.tool-product-demo {
  position: relative;
  flex: 1 1 auto;
  align-self: center;
  width: auto;
  max-width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #b9c0c9;
  background:
    linear-gradient(rgba(56,66,80,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,66,80,.08) 1px, transparent 1px),
    linear-gradient(145deg, #f8fafb, #e3e8ed);
  background-size: 24px 24px, 24px 24px, auto;
}

.tool-product-demo > img,
.tool-product-demo > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eef2f5;
}

.tool-product-demo::before,
.tool-product-demo::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.tool-product-demo::before {
  top: 8px;
  left: 8px;
  border-top: 2px solid var(--red-main);
  border-left: 1px solid #3d4757;
}

.tool-product-demo::after {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid #3d4757;
  border-bottom: 2px solid var(--red-main);
}

.tool-product-demo-label {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  color: #6a7480;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.tool-product-demo-graphic {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.tool-product-demo-graphic svg,
.tool-product-demo-graphic img {
  width: clamp(105px, 17vw, 185px);
  height: clamp(105px, 17vw, 185px);
  fill: rgba(188,17,22,.08);
  stroke: #364354;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(13px 15px 0 rgba(188,17,22,.05));
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), filter .45s ease;
}

.tool-product-demo-graphic img {
  object-fit: contain;
}

.tool-product-demo-graphic img[hidden] { display: none; }

.tool-product-demo-graphic i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-main);
  box-shadow: 0 0 8px rgba(188,17,22,.5);
}

.tool-product-demo-graphic i:nth-child(1) { top: 25%; left: 23%; }
.tool-product-demo-graphic i:nth-child(2) { top: 30%; right: 25%; }
.tool-product-demo-graphic i:nth-child(3) { right: 30%; bottom: 20%; }
.tool-product-demo-graphic i:nth-child(4) { bottom: 28%; left: 28%; }

.tool-product-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #202936 !important;
  border-radius: 50%;
  color: #fff !important;
  background: rgba(188,17,22,.94) !important;
  box-shadow: 0 7px 20px rgba(8,8,10,.2);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, box-shadow .2s ease;
}

.tool-product-play:hover,
.tool-product-play:focus-visible {
  box-shadow: 0 9px 24px rgba(188,17,22,.32);
  outline: none;
  transform: translate(-50%, -50%) scale(1.08);
}

.tool-product-play span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
}

.tool-product-demo.is-playing .tool-product-play span {
  width: 9px;
  height: 11px;
  margin-left: 0;
  border: 0;
  border-right: 3px solid #fff;
  border-left: 3px solid #fff;
}

.tool-product-demo.is-playing .tool-product-demo-graphic svg {
  filter: drop-shadow(18px 20px 0 rgba(188,17,22,.09));
  transform: scale(1.06) rotate(-2deg);
}

.tool-product-demo > p {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Space', Arial, sans-serif;
}

.tool-product-demo > p b {
  color: #202936;
  font-size: 10px;
  letter-spacing: .06em;
}

.tool-product-demo > p span {
  color: #7b8490;
  font-size: 7px;
  letter-spacing: .14em;
}

.tool-product-offer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
  min-height: 48px;
  padding: 6px 0 0;
  border-top: 1px solid #c2c8cf;
}

.tool-product-offer > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.tool-product-offer small {
  color: #7b8490;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .12em;
}

.tool-product-offer strong {
  color: #202936;
  font-family: 'Space', Arial, sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1;
}

.tool-product-discount {
  padding: 4px 7px;
  color: #fff;
  background: var(--red-main);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
}

.tool-product-actions {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin-left: auto;
}

.tool-product-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 12px !important;
  border: 1px solid #7e8997 !important;
  color: #202936 !important;
  background: #fff !important;
  font-family: Arial, sans-serif !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.tool-product-action--buy {
  border-color: var(--red-main) !important;
  color: #fff !important;
  background: var(--red-main) !important;
}

.tool-product-action:hover,
.tool-product-action:focus-visible {
  border-color: var(--red-main) !important;
  color: #fff !important;
  background: var(--red-main) !important;
  outline: none;
  transform: translateY(-1px);
}

.tool-product-action.is-added {
  animation: toolActionAdded .42s cubic-bezier(.2,.85,.35,1.35);
}

@keyframes toolActionAdded {
  0% { transform: scale(.92); }
  55% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@media (max-width: 1180px) {
  .tool-product-offer {
    flex-wrap: wrap;
  }

  .tool-product-actions {
    width: 100%;
    margin-left: 0;
  }
}

.tool-product-panel--guide h2 {
  margin-top: 16px;
}

.tool-product-steps {
  display: grid;
  gap: 0;
  margin: 15px 0 0;
  list-style: none;
  counter-reset: none;
}

.tool-product-steps li {
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.13);
}

.tool-product-steps li > b {
  color: #ff777b;
  font-family: 'Space', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .05em;
}

.tool-product-steps strong {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
}

.tool-product-steps p {
  margin: 4px 0 0;
  color: #aeb7c3;
  font-size: 10.5px;
  line-height: 1.4;
}

.tool-product-help {
  position: absolute;
  right: clamp(17px, 1.5vw, 24px);
  bottom: 17px;
  left: clamp(17px, 1.5vw, 24px);
  display: flex;
  justify-content: space-between;
  padding: 8px 0 !important;
  border-bottom: 1px solid #8d96a3 !important;
  color: #fff !important;
  font-size: 7px !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
}

.tool-product-help span { color: #ff777b; }

.tool-ribbon-command.is-selected {
  border-color: #8795a5 !important;
  background: linear-gradient(#fff, #cfdae4) !important;
  box-shadow: inset 0 -2px var(--red-main);
}

@keyframes toolPanelReveal {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes toolHomeReveal {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.portal-detail-shell {
  position: relative;
  flex: 0 0 auto;
  width: min(1360px, 100%);
  min-height: min(610px, calc(100% - 4px));
  margin-block: auto;
  padding: clamp(28px, 4vw, 58px);
  border-top: 1px solid rgba(8, 8, 10, .72);
  border-bottom: 1px solid rgba(8, 8, 10, .72);
  background: transparent;
}

body.technology-shop-open .site-footer {
  transition: opacity .22s ease, visibility 0s linear;
}

body.technology-shop-open:not(.technology-shop-at-bottom) .site-footer {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.technology-shop-open.technology-shop-at-bottom .site-footer {
  visibility: visible;
  opacity: 1;
}

.portal-detail-shell::before,
.portal-detail-shell::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  pointer-events: none;
}

.portal-detail-shell::before {
  top: -1px;
  left: 0;
  border-top: 4px solid var(--red-main);
  border-left: 1px solid var(--black-main);
}

.portal-detail-shell::after {
  right: 0;
  bottom: -1px;
  border-right: 1px solid var(--black-main);
  border-bottom: 4px solid var(--red-main);
}

.portal-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 90px);
}

.portal-detail-header--reverse {
  align-items: flex-start;
}

.portal-heading-block {
  max-width: 760px;
}

.portal-heading-block--right {
  margin-left: auto;
  text-align: right;
}

.portal-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--red-main);
  font-family: 'Space', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.portal-heading-block--right .portal-kicker {
  justify-content: flex-end;
}

.portal-kicker span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 20px;
  color: #fff;
  background: var(--red-main);
  letter-spacing: 0;
}

.portal-detail-title {
  margin: 0;
  color: var(--black-main);
  font-family: 'Space', Arial, sans-serif;
  font-size: clamp(42px, 6vw, 92px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .84;
  text-transform: uppercase;
}

.technology-panel--license .portal-detail-title {
  font-family: Arial, sans-serif;
}

.portal-detail-title:focus {
  outline: none;
}

.portal-detail-title span {
  color: var(--red-main);
}

.portal-detail-intro {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(8, 8, 10, .68);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.65;
}

.portal-heading-block--right .portal-detail-intro {
  margin-left: auto;
}

.portal-back {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(8, 8, 10, .55);
  color: var(--black-main);
  background: transparent;
  font-family: 'Space', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.portal-back b {
  color: var(--red-main);
  font-size: 12px;
  letter-spacing: -.08em;
}

.portal-back:hover,
.portal-back:focus-visible {
  color: var(--red-main);
  border-color: var(--red-main);
  outline: none;
}

.portal-back--right:hover,
.portal-back--right:focus-visible {
  transform: translateX(5px);
}

.portal-back--left:hover,
.portal-back--left:focus-visible {
  transform: translateX(-5px);
}

.portal-back--floating {
  position: absolute;
  top: clamp(44px, 6vh, 58px);
  z-index: 60;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .94);
  opacity: 0;
  pointer-events: none;
  transition:
    color .25s ease,
    border-color .25s ease,
    opacity .22s ease,
    transform .3s cubic-bezier(.22, .61, .36, 1);
}

.portal-back--floating.portal-back--right {
  right: clamp(18px, 2.5vw, 44px);
  transform: translate3d(14px, -50%, 0);
}

.portal-back--floating.portal-back--left {
  left: clamp(18px, 2.5vw, 44px);
  transform: translate3d(-14px, -50%, 0);
}

.technology-page[data-portal-view="license"] > .portal-back--right,
.technology-page[data-portal-view="tools"] > .portal-back--left {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, -50%, 0);
  transition-delay: 480ms;
}

.technology-page[data-portal-view="license"] > .portal-back--right:hover,
.technology-page[data-portal-view="license"] > .portal-back--right:focus-visible {
  transform: translate3d(5px, -50%, 0);
}

.technology-page[data-portal-view="tools"] > .portal-back--left:hover,
.technology-page[data-portal-view="tools"] > .portal-back--left:focus-visible {
  transform: translate3d(-5px, -50%, 0);
}

.technology-page[data-portal-view="tools"] > .portal-back--left {
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  min-width: 100px;
  height: auto;
  min-height: 0;
  padding: 12px 4px;
  gap: 6px;
  border: 0;
  border-right: 1px solid rgba(8, 8, 10, .2);
  color: var(--black-main);
  background: transparent;
  font-size: 8px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  transform: none;
  transition:
    color .25s ease,
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease,
    opacity .22s ease;
}

.technology-page[data-portal-view="tools"] > .portal-back--left .portal-back-core {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.technology-page[data-portal-view="tools"] .tool-ribbon-quick {
  padding-left: 0;
}

.technology-page[data-portal-view="tools"] > .portal-back--left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--red-main);
  box-shadow: 0 0 12px rgba(188, 17, 22, .35);
  transition: height .38s cubic-bezier(.22, .61, .36, 1);
}

.technology-page[data-portal-view="tools"] > .portal-back--left:hover,
.technology-page[data-portal-view="tools"] > .portal-back--left:focus-visible {
  color: var(--red-main);
  border-color: rgba(188, 17, 22, .5);
  background: linear-gradient(90deg, rgba(188, 17, 22, .1), rgba(188, 17, 22, .025));
  box-shadow: inset -8px 0 20px rgba(188, 17, 22, .045);
  outline: none;
  transform: none;
}

.technology-page[data-portal-view="tools"] > .portal-back--left:hover::after,
.technology-page[data-portal-view="tools"] > .portal-back--left:focus-visible::after {
  height: 100%;
}

.technology-page[data-portal-view="license"] > .portal-back--right {
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  min-width: 100px;
  height: auto;
  min-height: 0;
  padding: 12px 4px;
  gap: 6px;
  border: 0;
  border-left: 1px solid rgba(8, 8, 10, .2);
  color: var(--black-main);
  background: transparent;
  font-size: 9px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  transform: none;
  transition:
    color .25s ease,
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease,
    opacity .22s ease;
}

.technology-page[data-portal-view="license"] > .portal-back--right .portal-back-core {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.technology-page[data-portal-view="license"] > .portal-back--right::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 0;
  background: var(--red-main);
  box-shadow: 0 0 12px rgba(188, 17, 22, .35);
  transition: height .38s cubic-bezier(.22, .61, .36, 1);
}

.technology-page[data-portal-view="license"] > .portal-back--right:hover,
.technology-page[data-portal-view="license"] > .portal-back--right:focus-visible {
  color: var(--red-main);
  border-color: rgba(188, 17, 22, .5);
  background: linear-gradient(270deg, rgba(188, 17, 22, .1), rgba(188, 17, 22, .025));
  box-shadow: inset 8px 0 20px rgba(188, 17, 22, .045);
  outline: none;
  transform: none;
}

.technology-page[data-portal-view="license"] > .portal-back--right:hover::after,
.technology-page[data-portal-view="license"] > .portal-back--right:focus-visible::after {
  height: 100%;
}

.portal-back-core {
  position: relative;
  width: 26px;
  height: 26px;
  border: 1px solid var(--black-main);
  border-radius: 50%;
}

.portal-back-core::before,
.portal-back-core::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.portal-back-core::before {
  inset: 4px;
  border: 1px dashed var(--red-main);
  animation: rotateCW 5s linear infinite;
}

.portal-back-core::after {
  inset: 9px;
  background: var(--red-main);
}

.portal-status-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(28px, 4vh, 44px) 0 18px;
  color: rgba(8, 8, 10, .48);
  font-family: 'Space', Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}

.portal-status-line i {
  position: relative;
  flex: 1;
  height: 1px;
  overflow: visible;
  background: rgba(8, 8, 10, .2);
}

.portal-status-line i::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 22%;
  height: 3px;
  background: var(--red-main);
  animation: portalSignal 3.2s ease-in-out infinite alternate;
}

.portal-status-line--reverse i::after {
  right: 0;
  left: auto;
}

.portal-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
}

.portal-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(220px, 27vh, 290px);
  padding: clamp(20px, 2vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(8, 8, 10, .2);
  background: rgba(255, 255, 255, .82);
  opacity: 0;
  transform: translate3d(-34px, 0, 0);
  transition:
    opacity .42s ease,
    transform .55s cubic-bezier(.22, .61, .36, 1),
    border-color .25s ease,
    background .25s ease;
}

.technology-panel--tools .portal-product-card {
  transform: translate3d(34px, 0, 0);
}

.portal-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--red-main);
  transition: width .35s ease;
}

.portal-product-card::after {
  content: "";
  position: absolute;
  top: 11px;
  right: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-main);
}

.technology-page[data-portal-view="license"] .technology-panel--license .portal-product-card,
.technology-page[data-portal-view="tools"] .technology-panel--tools .portal-product-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.technology-page[data-portal-view="license"] .portal-product-card:nth-child(1),
.technology-page[data-portal-view="tools"] .portal-product-card:nth-child(1) { transition-delay: 390ms; }
.technology-page[data-portal-view="license"] .portal-product-card:nth-child(2),
.technology-page[data-portal-view="tools"] .portal-product-card:nth-child(2) { transition-delay: 460ms; }
.technology-page[data-portal-view="license"] .portal-product-card:nth-child(3),
.technology-page[data-portal-view="tools"] .portal-product-card:nth-child(3) { transition-delay: 530ms; }
.technology-page[data-portal-view="license"] .portal-product-card:nth-child(4),
.technology-page[data-portal-view="tools"] .portal-product-card:nth-child(4) { transition-delay: 600ms; }
.technology-page[data-portal-view="license"] .portal-product-card:nth-child(5),
.technology-page[data-portal-view="tools"] .portal-product-card:nth-child(5) { transition-delay: 670ms; }
.technology-page[data-portal-view="license"] .portal-product-card:nth-child(6),
.technology-page[data-portal-view="tools"] .portal-product-card:nth-child(6) { transition-delay: 740ms; }
.technology-page[data-portal-view="license"] .portal-product-card:nth-child(7),
.technology-page[data-portal-view="tools"] .portal-product-card:nth-child(7) { transition-delay: 810ms; }
.technology-page[data-portal-view="license"] .portal-product-card:nth-child(8),
.technology-page[data-portal-view="tools"] .portal-product-card:nth-child(8) { transition-delay: 880ms; }

.technology-page[data-portal-view="license"] .technology-panel--license .portal-product-card:hover,
.technology-page[data-portal-view="tools"] .technology-panel--tools .portal-product-card:hover {
  border-color: var(--red-main);
  background: #fff;
  transform: translate3d(0, -6px, 0);
  transition-delay: 0ms;
}

.portal-product-card:hover::before {
  width: 100%;
}

.portal-card-index {
  margin-bottom: auto;
  color: rgba(8, 8, 10, .42);
  font-family: 'Space', Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}

.portal-card-brand {
  margin: 28px 0 7px;
  color: var(--red-main);
  font-family: 'Space', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}

.portal-product-card h3 {
  min-height: 2.15em;
  margin: 0 0 12px;
  color: var(--black-main);
  font-family: 'Space', Arial, sans-serif;
  font-size: clamp(16px, 1.45vw, 23px);
  font-weight: 900;
  line-height: 1.08;
}

.technology-panel--license .portal-product-card h3 {
  font-family: Arial, sans-serif;
}

.portal-product-card > p:last-of-type {
  margin: 0 0 22px;
  color: rgba(8, 8, 10, .58);
  font-size: 12px;
  line-height: 1.55;
}

.portal-card-action {
  margin-top: auto;
  color: var(--black-main);
  text-decoration: none;
  font-family: 'Space', Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
}

.technology-panel--license .portal-card-action {
  font-family: Arial, sans-serif;
}

.portal-card-action b {
  color: var(--red-main);
}

.portal-detail-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  color: rgba(8, 8, 10, .35);
  font-family: 'Space', Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}

/* Anticipation, reactor charge and directional energy pulse. */
.technology-page.is-priming-license .wing-left {
  transform: translate3d(-26px, 0, 0) scaleX(.985);
}

.technology-page.is-priming-tools .wing-right {
  transform: translate3d(26px, 0, 0) scaleX(.985);
}

.technology-page.is-reactor-charging .reactor-svg {
  transform-origin: center;
  animation: reactorChargePulse 380ms ease-in-out both;
  filter: drop-shadow(0 0 18px rgba(188, 17, 22, .45));
}

.technology-page.is-reactor-charging .reactor-swirl.s1 { animation-duration: .65s; }
.technology-page.is-reactor-charging .reactor-swirl.s2 { animation-duration: .45s; }
.technology-page.is-reactor-charging .reactor-swirl.s3 { animation-duration: .8s; }

.technology-page.is-back-priming .portal-back--floating[aria-hidden="false"] .portal-back-core {
  animation: portalBackCharge 220ms ease-in-out both;
}

.technology-page.is-transitioning .wing-panel-glass {
  cursor: wait;
}

body.technology-portal-transitioning .cad-cursor-axis {
  opacity: 0;
  box-shadow: none;
}

.portal-energy-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 35;
  width: min(38vw, 680px);
  height: 2px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--red-main) 72%, #fff);
  transform-origin: right center;
}

.technology-page.is-shifting-license .portal-energy-sweep {
  animation: portalSweepRight 820ms cubic-bezier(.77, 0, .18, 1) both;
}

.technology-page.is-shifting-tools .portal-energy-sweep {
  animation: portalSweepLeft 820ms cubic-bezier(.77, 0, .18, 1) both;
}

.technology-page.is-returning-license .portal-energy-sweep {
  animation: portalSweepLeft 820ms cubic-bezier(.77, 0, .18, 1) both;
}

.technology-page.is-returning-tools .portal-energy-sweep {
  animation: portalSweepRight 820ms cubic-bezier(.77, 0, .18, 1) both;
}

.technology-page[data-portal-view="license"] #bgCanvas,
.technology-page[data-portal-view="tools"] #bgCanvas {
  opacity: .28;
}

.technology-page[data-portal-view="license"] #globeCanvas,
.technology-page[data-portal-view="tools"] #globeCanvas {
  opacity: .08;
}

.technology-page[data-portal-view="license"]:not(.is-transitioning) .technology-panel--center .hud-ring,
.technology-page[data-portal-view="license"]:not(.is-transitioning) .technology-panel--center .reactor-swirl,
.technology-page[data-portal-view="license"]:not(.is-transitioning) .technology-panel--center .tri-pulse,
.technology-page[data-portal-view="license"]:not(.is-transitioning) .technology-panel--center .scan-line,
.technology-page[data-portal-view="license"]:not(.is-transitioning) .technology-panel--center .eq-bars rect,
.technology-page[data-portal-view="tools"]:not(.is-transitioning) .technology-panel--center .hud-ring,
.technology-page[data-portal-view="tools"]:not(.is-transitioning) .technology-panel--center .reactor-swirl,
.technology-page[data-portal-view="tools"]:not(.is-transitioning) .technology-panel--center .tri-pulse,
.technology-page[data-portal-view="tools"]:not(.is-transitioning) .technology-panel--center .scan-line,
.technology-page[data-portal-view="tools"]:not(.is-transitioning) .technology-panel--center .eq-bars rect {
  animation-play-state: paused;
}

#bgCanvas,
#globeCanvas {
  transition: opacity 420ms ease;
}

@keyframes reactorChargePulse {
  0% { transform: scale(1); }
  48% { transform: scale(.975); }
  100% { transform: scale(1.045); }
}

@keyframes portalBackCharge {
  0%, 100% { transform: scale(1); }
  55% { transform: scale(1.28); border-color: var(--red-main); }
}

@keyframes portalSweepRight {
  0% { opacity: 0; transform: translate3d(-35%, -50%, 0) scaleX(.05); }
  18% { opacity: .95; }
  100% { opacity: 0; transform: translate3d(125%, -50%, 0) scaleX(1.25); }
}

@keyframes portalSweepLeft {
  0% { opacity: 0; transform: translate3d(-65%, -50%, 0) scaleX(.05) rotate(180deg); }
  18% { opacity: .95; }
  100% { opacity: 0; transform: translate3d(-225%, -50%, 0) scaleX(1.25) rotate(180deg); }
}

@keyframes portalSignal {
  from { transform: translateX(0); }
  to { transform: translateX(355%); }
}

/* Keep the full-screen sample composition inside the shared WordPress shell. */
.technology-page {
  height: clamp(680px, calc(100svh - 132px), 1000px);
  min-height: 680px;
  overflow: hidden;
}

.technology-page .hud-stage {
  width: 100%;
  height: 100%;
}

.technology-page .side-wing {
  width: calc(50% - 165px);
}

@media (max-width: 1100px) {
  .technology-page .tool-shop-home {
    grid-template-columns: minmax(200px, 1.1fr) minmax(0, 2.5fr) minmax(200px, 1.1fr);
    padding: 0;
    overflow: hidden;
  }

  .technology-page[data-portal-view="license"] > .portal-back--right {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    flex-direction: column;
    width: 100px;
    min-width: 100px;
    height: auto;
    min-height: 0;
    padding: 12px 4px;
    gap: 6px;
    border-left: 1px solid rgba(8, 8, 10, .2);
    background: transparent;
    font-size: 8px;
    white-space: normal;
  }

  .technology-page[data-portal-view="tools"] > .portal-back--left {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    flex-direction: column;
    width: 100px;
    min-width: 100px;
    height: auto;
    min-height: 0;
    padding: 12px 4px;
    gap: 6px;
    border-right: 1px solid rgba(8, 8, 10, .2);
    background: transparent;
    font-size: 8px;
    white-space: normal;
  }

  .technology-page[data-portal-view="tools"] .tool-ribbon-quick {
    padding-left: 0;
  }

  .technology-page .center-orb-wrapper {
    width: 310px;
    height: 310px;
  }

  .technology-page .side-wing {
    width: calc(50% - 132px);
  }

  .technology-page .wing-terminal-box {
    width: 230px;
  }

  .technology-page .wing-left .wing-terminal-box { left: 7%; }
  .technology-page .wing-right .wing-terminal-box { right: 7%; }

  .technology-page .technology-panel--detail {
    align-items: flex-start;
    padding: 36px;
  }

  .technology-page .technology-panel--tools {
    padding-top: 0;
    padding-left: 100px;
    padding-bottom: 12px;
  }

  .technology-page .technology-panel--license {
    padding-right: 100px;
  }

  .technology-page .technology-panel--tools .tool-shop-shell {
    margin-block: 0 auto;
  }

  .technology-page .portal-detail-shell {
    min-height: 0;
    margin: auto 0;
  }

  .technology-page .portal-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technology-page .portal-product-card {
    min-height: 215px;
  }

  .technology-page .tool-product-view {
    grid-template-columns: minmax(200px, 1.1fr) minmax(0, 2.5fr) minmax(200px, 1.1fr);
  }

  .technology-page .tool-product-panel--about,
  .technology-page .tool-product-panel--guide {
    padding: 15px;
  }

  .technology-page .tool-product-help {
    right: 15px;
    left: 15px;
  }
}

@media (max-width: 760px) {
  .technology-page {
    height: calc(100svh - 106px);
    min-height: 620px;
  }

  .technology-page .center-orb-wrapper {
    width: min(64vw, 300px);
    height: min(64vw, 300px);
  }

  .technology-page .side-wing {
    width: 32vw;
  }

  .technology-page .wing-terminal-box {
    top: auto;
    bottom: 9%;
    width: 30vw;
    transform: none;
    gap: 7px;
  }

  .technology-page .wing-left .wing-terminal-box { left: 10px; }
  .technology-page .wing-right .wing-terminal-box { right: 10px; }
  .technology-page .wing-title { font-size: clamp(12px, 3.6vw, 20px); }
  .technology-page .wing-read-more {
    top: calc(100% + 8px);
    font-size: clamp(8px, 2.5vw, 11px);
  }

  .technology-page .technology-panel--detail {
    padding: 24px 16px 38px;
    overscroll-behavior: contain;
  }

  .technology-page .technology-panel--tools {
    padding-top: 0;
    padding-left: 100px;
    padding-bottom: 12px;
  }

  .technology-page .technology-panel--license {
    padding-right: 100px;
  }

  .technology-page .portal-detail-shell {
    padding: 26px 18px;
  }

  .technology-page .technology-panel--tools .tool-shop-shell {
    margin-block: 0 auto;
    padding: 0;
    overflow: visible;
  }

  .technology-page .tool-shop-home {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100%;
    padding: 0;
    overflow: visible;
  }

  .technology-page .tool-shop-home-side--overview,
  .technology-page .tool-shop-home-heading,
  .technology-page .tool-shop-home-side--guide {
    grid-column: 1;
  }

  .technology-page .tool-shop-home-side--overview { grid-row: 1; }
  .technology-page .tool-shop-home-heading { grid-row: 2; }
  .technology-page .tool-shop-home-side--guide { grid-row: 3; }

  .technology-page .tool-shop-home-heading {
    padding: 38px 18px;
  }

  .technology-page .tool-shop-home-heading h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .technology-page .tool-shop-home-prompt {
    grid-template-columns: 28px 1fr 28px;
    gap: 8px;
    line-height: 1.4;
  }

  .technology-page .tool-shop-home-status {
    line-height: 1.5;
    text-align: left;
  }

  .technology-page .tool-product-view {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .technology-page .tool-product-panel--about,
  .technology-page .tool-product-panel--guide {
    min-height: 330px;
  }

  .technology-page .tool-product-panel--media {
    min-height: 0;
    border-block: 1px solid #8d96a3;
    border-inline: 0;
  }

  .technology-page .tool-product-demo {
    min-height: 0;
  }

  .technology-page .portal-detail-header,
  .technology-page .portal-detail-header--reverse {
    flex-direction: column;
    gap: 22px;
  }

  .technology-page .portal-detail-header--reverse .portal-back {
    order: 2;
  }

  .technology-page .portal-heading-block--right {
    order: 1;
    text-align: left;
  }

  .technology-page .portal-heading-block--right .portal-kicker {
    justify-content: flex-start;
  }

  .technology-page .portal-heading-block--right .portal-detail-intro {
    margin-left: 0;
  }

  .technology-page .portal-detail-title {
    font-size: clamp(40px, 15vw, 66px);
  }

  .technology-page .portal-detail-intro {
    margin-top: 16px;
  }

  .technology-page .portal-status-line {
    margin-top: 26px;
  }

  .technology-page .portal-card-grid {
    grid-template-columns: 1fr;
  }

  .technology-page .portal-product-card {
    min-height: 205px;
  }

  .technology-page .portal-detail-footer {
    flex-direction: column;
    gap: 7px;
  }

  .technology-page > .portal-back--floating {
    top: 44px;
    padding: 6px 8px;
    font-size: 9px;
  }

  .technology-page > .portal-back--right { right: 14px; }
  .technology-page > .portal-back--left { left: 14px; }
}

/* LICENSE SHOP CATALOG */
.technology-panel--license .license-catalog-shell {
  width: min(1280px, 100%);
  padding: clamp(24px, 3vw, 44px);
}

.technology-panel--license .portal-detail-header {
  justify-content: center;
  text-align: center;
}

.technology-panel--license .portal-heading-block {
  max-width: 820px;
}

.technology-panel--license .portal-kicker {
  justify-content: center;
}

.technology-panel--license .portal-detail-title {
  font-size: clamp(46px, 5.2vw, 76px);
}

.technology-panel--license .portal-detail-intro { margin-inline: auto; }

.license-catalog-controls {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}

.license-catalog-search {
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(610px, 100%);
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(32, 41, 54, .17);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 7px 20px rgba(32, 41, 54, .08);
  transition: border-color .22s ease, box-shadow .22s ease;
}

.license-catalog-search:focus-within {
  border-color: rgba(188, 17, 22, .58);
  box-shadow: 0 8px 24px rgba(188, 17, 22, .11);
}

.license-catalog-search svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #6d7580;
  stroke-width: 1.8;
}

.license-catalog-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #202936;
  background: transparent;
  font: italic 14px/1.2 Arial, sans-serif;
}

.license-catalog-search input::-webkit-search-cancel-button { cursor: pointer; }

.license-catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 12px;
  max-width: 1080px;
}

.license-catalog-filters button {
  min-height: 36px;
  padding: 8px 20px;
  border: 1px solid rgba(32, 41, 54, .16);
  border-radius: 999px;
  color: #3e4651;
  background: rgba(255, 255, 255, .78);
  font: 600 11px/1 Arial, sans-serif;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.license-catalog-filters button:hover,
.license-catalog-filters button:focus-visible {
  border-color: var(--red-main);
  color: var(--red-main);
  outline: 0;
  transform: translateY(-2px);
}

.license-catalog-filters button.is-active {
  border-color: var(--red-main);
  color: #fff;
  background: var(--red-main);
}

.technology-panel--license .license-catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.technology-panel--license .license-product-card {
  min-height: 520px;
  padding: 0;
  border-color: rgba(32, 41, 54, .16);
  border-radius: 4px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 10px 28px rgba(32, 41, 54, .07);
}

.technology-panel--license .license-product-card[hidden] { display: none !important; }

.license-product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 184px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(188, 17, 22, .94), rgba(32, 41, 54, .96)),
    repeating-linear-gradient(90deg, transparent 0 29px, rgba(255,255,255,.05) 30px);
}

.license-product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.13) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: licenseCardScan 5.5s ease-in-out infinite;
}

.license-product-visual img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.license-product-monogram {
  position: relative;
  z-index: 1;
  font: 900 68px/1 Arial, sans-serif;
  text-shadow: 0 8px 26px rgba(0,0,0,.18);
}

.license-product-brand {
  position: absolute;
  bottom: 13px;
  left: 18px;
  z-index: 2;
  font: 700 9px/1 Arial, sans-serif;
  letter-spacing: .16em;
}

.license-product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--red-main);
  font: 700 10px/1 Arial, sans-serif;
  box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

.license-product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 20px;
}

.technology-panel--license .license-product-card h3 {
  min-height: 0;
  margin: 0 0 9px;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.2;
}

.license-product-description {
  min-height: 3em;
  margin: 0 0 15px;
  color: rgba(32, 41, 54, .7);
  font: 13px/1.55 Arial, sans-serif;
}

.license-product-features {
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: #535c68;
  font: 12px/1.35 Arial, sans-serif;
}

.license-product-features li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--red-main);
  font-weight: 900;
}

.license-product-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(32, 41, 54, .13);
}

.license-product-price {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 52px;
  text-align: center;
}

.license-product-price small,
.license-product-price span {
  color: #7b838e;
  font: 700 8px/1 Arial, sans-serif;
  letter-spacing: .12em;
}

.license-product-price strong {
  color: var(--red-main);
  font: 800 20px/1 Arial, sans-serif;
}

.license-product-price del {
  color: #8e949d;
  font: 11px/1 Arial, sans-serif;
  letter-spacing: 0;
}

.license-product-price span b {
  margin-left: 5px;
  color: var(--red-main);
  letter-spacing: 0;
}

.license-product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.license-product-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--red-main);
  border-radius: 4px;
  font: 700 9px/1 Arial, sans-serif;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.license-buy-now {
  color: var(--red-main);
  background: #fff;
}

.license-add-cart {
  color: #fff;
  background: var(--red-main);
}

.license-product-actions svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.license-product-actions button:hover,
.license-product-actions button:focus-visible {
  outline: 0;
  transform: translateY(-2px);
}

.license-buy-now:hover,
.license-buy-now:focus-visible {
  color: #fff;
  background: var(--red-main);
}

.license-add-cart:hover,
.license-add-cart:focus-visible {
  border-color: #202936;
  background: #202936;
}

.license-catalog-empty {
  margin: 42px 0;
  color: #555e69;
  font: 600 14px/1.5 Arial, sans-serif;
  text-align: center;
}

@keyframes licenseCardScan {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

@media (max-width: 1050px) {
  .technology-panel--license .license-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .technology-panel--license .license-catalog-grid { grid-template-columns: 1fr; }
  .license-catalog-filters { gap: 7px; }
  .license-catalog-filters button { padding-inline: 14px; }
  .technology-panel--license .license-product-card { min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  .technology-page *,
  .technology-page *::before,
  .technology-page *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Separate pages retain each original panel's viewport composition. */
.technology-page--standalone > .technology-panel {
  width: 100%;
  height: 100%;
}
.technology-page--standalone {
  /* Let the document own vertical scrolling now that the portal is split. */
  overflow: clip;
  overscroll-behavior: auto;
}
.technology-page--standalone .technology-panel--center {
  touch-action: pan-y;
}
.technology-page--standalone[data-portal-view="center"] .side-wing {
  display: none;
}

.reactor-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3vh, 34px);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 22px 8px;
  border: 0;
  color: #bc1116;
  background: transparent;
  font-family: 'Space', Arial, sans-serif;
  cursor: pointer;
  transform: translateX(-50%);
}

.reactor-scroll-cue span {
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  white-space: nowrap;
}

.reactor-scroll-cue i {
  display: block;
  width: 19px;
  height: 19px;
  margin-top: -10px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  opacity: .2;
  transform: rotate(45deg);
  animation: reactorScrollCue 1.6s ease-in-out infinite;
}

.reactor-scroll-cue i:nth-of-type(2) { animation-delay: .16s; }
.reactor-scroll-cue i:nth-of-type(3) { animation-delay: .32s; }

.reactor-scroll-cue:hover,
.reactor-scroll-cue:focus-visible {
  color: #bc1116;
  outline: none;
  filter: drop-shadow(0 0 8px rgba(188, 17, 22, .45));
}

@keyframes reactorScrollCue {
  0%, 100% { opacity: .16; transform: translateY(-4px) rotate(45deg); }
  45%, 65% { opacity: 1; transform: translateY(4px) rotate(45deg); }
}

.technology-page--standalone .technology-panel--detail {
  overscroll-behavior-y: auto;
}
.technology-page--license-shop {
  height: auto;
  min-height: 0;
  overflow: visible;
  contain: none;
}
.technology-page--license-shop > .technology-panel--license {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  touch-action: pan-y;
}

.license-coming-soon {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.license-coming-soon span {
  color: #bc1116;
  font-family: 'Space', Arial, sans-serif;
  font-size: clamp(34px, 6vw, 88px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .12em;
  text-align: center;
  text-shadow: 0 0 24px rgba(188, 17, 22, .16);
}
