
    @view-transition {
      navigation: auto;
    }

    :root {
      --glacier-canvas: #F2F5FA;
      --glacier-pure: #FFFFFF;
      --glacier-frost: #EAF3FA;
      --glacier-rim: #DCE8F2;
      --glacier-border: #B8D4E6;
      --ice-specular: #8CE8FA;
      --aqua-bright: #49BDD4;
      --glacier-aqua: #38A3B8;
      --deep-teal: #377288;
      --royal-cobalt: #3E399B;
      --cobalt-shadow: #242068;
      --glacier-navy: #16202E;
      --glacier-ink: #223247;
      --glacier-slate: #566B82;
      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
    }

    * {
      box-sizing: border-box;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    html {
      scroll-behavior: smooth;
    }

    /* Living Pure Glacier Optical Mesh Canvas */
    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background-color: var(--glacier-canvas);
      background-image:
        radial-gradient(920px 500px at 12% -6%, rgba(140, 232, 250, 0.22), transparent 62%),
        radial-gradient(860px 480px at 88% -4%, rgba(62, 57, 155, 0.09), transparent 60%),
        radial-gradient(700px 440px at 50% 42%, rgba(73, 189, 212, 0.06), transparent 65%);
      background-attachment: fixed;
      color: var(--glacier-navy);
      margin: 0;
      font-feature-settings: "cv02", "cv03", "cv04", "cv11";
      overflow-x: hidden;
    }

    .mono {
      font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
      font-variant-numeric: tabular-nums;
    }

    /* Gradient Text Accent (Cobalt -> Deep Teal -> Glacier Aqua) */
    .text-glacier-gradient {
      background: linear-gradient(135deg, #16202E 0%, #3E399B 52%, #38A3B8 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* Top Route & Action Progress Ribbon */
    #top-progress-wrap {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      z-index: 90;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.2s ease;
    }
    #top-progress-wrap.active {
      opacity: 1;
    }
    #top-progress-bar {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #3E399B 0%, #38A3B8 55%, #8CE8FA 100%);
      box-shadow: 0 0 12px rgba(73, 189, 212, 0.65);
      transition: width 0.32s var(--ease-out-expo);
    }

    /* Elevated Pure Glacier Surface with Specular Top Edge */
    .bento-card {
      position: relative;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 253, 255, 0.94) 100%);
      backdrop-filter: blur(10px);
      border: 1px solid var(--glacier-rim);
      border-radius: 18px;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 1px 3px rgba(22, 32, 46, 0.03),
        0 12px 30px -6px rgba(22, 32, 46, 0.038);
      transition: border-color 0.22s ease, box-shadow 0.25s var(--ease-spring);
    }

    .bento-card-interactive {
      position: relative;
      background: linear-gradient(180deg, #FFFFFF 0%, #FAFDFF 100%);
      border: 1px solid var(--glacier-rim);
      border-radius: 18px;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 2px 4px rgba(22, 32, 46, 0.025),
        0 12px 28px -6px rgba(22, 32, 46, 0.035);
      transition:
        transform 0.26s var(--ease-spring),
        border-color 0.22s ease,
        box-shadow 0.26s var(--ease-spring);
    }
    .bento-card-interactive::before {
      content: "";
      position: absolute;
      top: -1px;
      left: 18px;
      right: 18px;
      height: 1.5px;
      background: linear-gradient(90deg, transparent, rgba(73, 189, 212, 0.7), rgba(62, 57, 155, 0.55), transparent);
      opacity: 0;
      transition: opacity 0.25s ease;
      pointer-events: none;
    }
    .bento-card-interactive:hover {
      transform: translateY(-2.5px);
      border-color: var(--glacier-border);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 8px 18px -6px rgba(55, 114, 136, 0.08),
        0 20px 40px -10px rgba(22, 32, 46, 0.065);
    }
    .bento-card-interactive:hover::before {
      opacity: 1;
    }
    .bento-card-interactive::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 18px;
      background: radial-gradient(
        340px circle at var(--spot-x, 50%) var(--spot-y, 0%),
        rgba(140, 232, 250, 0.16),
        rgba(62, 57, 155, 0.04) 45%,
        transparent 72%
      );
      opacity: 0;
      transition: opacity 0.28s ease;
      pointer-events: none;
    }
    .bento-card-interactive:hover::after {
      opacity: 1;
    }

    /* Progressive Scroll Choreography (Safe Progressive Enhancement) */
    body.js-scroll-ready .reveal-on-scroll {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-expo);
    }
    body.js-scroll-ready .reveal-on-scroll.is-visible {
      opacity: 1;
      transform: translateY(0);
    }
    .pkt-active-stage {
      border-color: #38A3B8 !important;
      background: linear-gradient(145deg, #FFFFFF 0%, #EAF6FC 100%) !important;
      box-shadow: 0 0 0 1px #38A3B8, 0 8px 20px -6px rgba(56, 163, 184, 0.24);
    }

    .bento-well {
      background: linear-gradient(180deg, #F3F7FB 0%, #EEF4FA 100%);
      border: 1px solid var(--glacier-rim);
      border-radius: 12px;
      transition: background 0.25s ease, border-color 0.25s ease;
    }

    /* Tactile Buttons with Optical Shimmer & Press Physics */
    .btn-cobalt {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #433EA8 0%, #3E399B 48%, #346088 100%);
      color: #FFFFFF;
      border: 1px solid var(--cobalt-shadow);
      box-shadow:
        inset 0 1px 0 rgba(140, 232, 250, 0.28),
        0 3px 10px -2px rgba(62, 57, 155, 0.28);
      transition:
        transform 0.18s var(--ease-spring),
        box-shadow 0.2s ease,
        filter 0.18s ease;
      cursor: pointer;
    }
    .btn-cobalt::after {
      content: "";
      position: absolute;
      top: 0;
      left: -110%;
      width: 65%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(140, 232, 250, 0.26), transparent);
      transform: skewX(-20deg);
      transition: left 0.55s var(--ease-out-expo);
      pointer-events: none;
    }
    .btn-cobalt:hover:not(:disabled) {
      transform: translateY(-1.5px);
      box-shadow:
        inset 0 1px 0 rgba(140, 232, 250, 0.4),
        0 8px 20px -4px rgba(62, 57, 155, 0.36),
        0 2px 8px rgba(56, 163, 184, 0.22);
      filter: brightness(1.04);
    }
    .btn-cobalt:hover:not(:disabled)::after {
      left: 135%;
    }
    .btn-cobalt:active:not(:disabled) {
      transform: translateY(0) scale(0.98);
    }
    .btn-cobalt:disabled {
      opacity: 0.65;
      cursor: default;
    }

    .btn-aqua {
      background: linear-gradient(135deg, #38A3B8 0%, #377288 100%);
      color: #FFFFFF;
      border: 1px solid #2A5B6E;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 3px 10px -2px rgba(55, 114, 136, 0.28);
      transition: transform 0.18s var(--ease-spring), box-shadow 0.18s ease;
      cursor: pointer;
    }
    .btn-aqua:hover:not(:disabled) {
      transform: translateY(-1px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 7px 18px -4px rgba(56, 163, 184, 0.36);
    }
    .btn-aqua:active:not(:disabled) {
      transform: scale(0.98);
    }

    .btn-outline {
      background: linear-gradient(180deg, #FFFFFF 0%, #F9FCFE 100%);
      color: var(--glacier-navy);
      border: 1px solid var(--glacier-border);
      box-shadow: 0 1px 2px rgba(22, 32, 46, 0.03);
      transition:
        transform 0.16s var(--ease-spring),
        background 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        color 0.16s ease;
      cursor: pointer;
    }
    .btn-outline:hover:not(:disabled) {
      transform: translateY(-1px);
      background: linear-gradient(180deg, #FFFFFF 0%, #EAF3FA 100%);
      border-color: var(--glacier-aqua);
      box-shadow: 0 4px 12px -3px rgba(56, 163, 184, 0.18);
    }
    .btn-outline:active:not(:disabled) {
      transform: scale(0.98);
    }
    .btn-outline.copied-ok {
      border-color: #10B981;
      background: #ECFDF5;
      color: #047857;
    }

    .btn-ghost {
      background: transparent;
      color: var(--glacier-slate);
      transition: all 0.15s ease;
      cursor: pointer;
    }
    .btn-ghost:hover {
      background: var(--glacier-frost);
      color: var(--glacier-navy);
    }

    /* Inputs & Dual-Tone Interactive Choice Tiles */
    .field {
      background: #FFFFFF;
      border: 1px solid var(--glacier-border);
      border-radius: 10px;
      color: var(--glacier-navy);
      transition: border-color 0.16s ease, box-shadow 0.18s ease, background 0.16s ease;
    }
    .field:hover {
      border-color: #96BDD6;
    }
    .field:focus {
      outline: none;
      border-color: var(--royal-cobalt);
      box-shadow: 0 0 0 3.5px rgba(56, 163, 184, 0.15);
    }

    .choice-tile {
      position: relative;
      border: 1px solid var(--glacier-rim);
      background: #FFFFFF;
      border-radius: 14px;
      transition:
        transform 0.18s var(--ease-spring),
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.2s ease;
      cursor: pointer;
    }
    .choice-tile:hover {
      transform: translateY(-1.5px);
      border-color: var(--glacier-aqua);
      background: linear-gradient(180deg, #FFFFFF 0%, #F7FBFE 100%);
      box-shadow: 0 6px 16px -6px rgba(55, 114, 136, 0.12);
    }
    .choice-tile:active {
      transform: scale(0.99);
    }
    .choice-tile.active {
      border-color: var(--royal-cobalt);
      background: linear-gradient(145deg, #FFFFFF 0%, #F2F8FD 58%, #F1F0FF 100%);
      box-shadow:
        0 0 0 1px var(--royal-cobalt),
        0 8px 22px -8px rgba(62, 57, 155, 0.22);
    }

    /* Segmented Pill Switchers */
    .seg-pill-active {
      background: linear-gradient(135deg, #3E399B 0%, #377288 100%);
      color: #FFFFFF !important;
      box-shadow: 0 2px 8px -2px rgba(62, 57, 155, 0.32);
    }

    /* Animated Stepper & Continuous Progress Track */
    .step-node {
      position: relative;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 13px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      background: #FFFFFF;
      border: 1px solid var(--glacier-rim);
      color: var(--glacier-slate);
      transition: all 0.24s var(--ease-spring);
      cursor: pointer;
    }
    .step-node:hover {
      border-color: var(--glacier-border);
      color: var(--glacier-navy);
    }
    .step-node.active {
      background: linear-gradient(135deg, #EAF3FA 0%, #EEECFF 100%);
      color: var(--royal-cobalt);
      border-color: var(--royal-cobalt);
      box-shadow: 0 3px 12px -3px rgba(62, 57, 155, 0.22);
      transform: translateY(-1px);
    }
    .step-node.done {
      background: #F4FBF9;
      border-color: #99E2D0;
      color: #0F5132;
    }

    /* Liquid Shimmering Glacier Progress Bars */
    .progress-track {
      width: 100%;
      background: var(--glacier-frost);
      border-radius: 999px;
      overflow: hidden;
      position: relative;
    }
    .progress-glacier {
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(90deg, #3E399B 0%, #38A3B8 60%, #49BDD4 100%);
      position: relative;
      overflow: hidden;
      transition: width 0.52s var(--ease-out-expo);
    }
    .progress-glacier::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.42) 50%,
        transparent 100%
      );
      animation: liquid-shimmer 2.2s infinite linear;
    }

    /* Indeterminate Network / Gatekeeper Scan Bar */
    .scan-bar-track {
      width: 100%;
      height: 5px;
      border-radius: 999px;
      background: #E5EFF8;
      overflow: hidden;
      position: relative;
    }
    .scan-bar-fill {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 42%;
      border-radius: 999px;
      background: linear-gradient(90deg, #3E399B, #49BDD4, #8CE8FA);
      animation: scan-sweep 1.05s infinite ease-in-out;
    }

    /* Live Telemetry Radar Beacon */
    .pulse-dot {
      position: relative;
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #10B981;
    }
    .pulse-dot::after {
      content: "";
      position: absolute;
      inset: -3px;
      border-radius: 999px;
      border: 1.5px solid #10B981;
      animation: radar-ping 2.1s infinite cubic-bezier(0, 0, 0.2, 1);
    }
    .pulse-dot-paused {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #F59E0B;
      box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
    }

    /* Interactive US Edge SVG Map Pins & Animated Fiber Mesh */
    .us-map-pin .pin-core,
    .us-map-pin .pin-halo {
      transition: transform 0.22s var(--ease-spring), r 0.22s var(--ease-spring), opacity 0.22s ease;
      transform-box: fill-box;
      transform-origin: center;
    }
    .us-map-pin:hover .pin-core {
      transform: scale(1.25);
    }
    .us-map-pin:hover .pin-halo,
    .us-map-pin.active .pin-halo {
      opacity: 0.36 !important;
      transform: scale(1.45);
    }
    .us-map-pin.active .pin-core {
      stroke: #8CE8FA;
      stroke-width: 2.5px;
      transform: scale(1.22);
    }

    /* 20-Bar Live Telemetry Sparkline */
    .spark-bar {
      flex: 1;
      border-radius: 3px 3px 1px 1px;
      background: linear-gradient(180deg, #49BDD4 0%, #3E399B 100%);
      opacity: 0.82;
      transition: height 0.35s var(--ease-out-expo), opacity 0.16s ease;
    }
    .spark-bar:hover {
      opacity: 1;
    }

    /* Command Palette (Ctrl + K) */
    .kbd-pill {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 6px;
      background: #F2F5FA;
      border: 1px solid var(--glacier-border);
      color: var(--glacier-slate);
    }
    .cmd-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      width: 100%;
      padding: 10px 14px;
      border-radius: 11px;
      text-align: left;
      transition: background 0.14s ease, transform 0.14s ease;
      cursor: pointer;
    }
    .cmd-item:hover,
    .cmd-item.active {
      background: linear-gradient(90deg, #EAF3FA 0%, #F1F0FF 100%);
    }

    /* Console Sidebar Navigation */
    .side-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 10px 14px;
      border-radius: 11px;
      font-size: 13px;
      font-weight: 500;
      color: var(--glacier-slate);
      transition: all 0.18s var(--ease-spring);
      cursor: pointer;
      border: 1px solid transparent;
      background: transparent;
      text-align: left;
    }
    .side-link:hover {
      background: #F4F8FC;
      color: var(--glacier-navy);
      transform: translateX(2px);
    }
    .side-link.active {
      background: linear-gradient(90deg, #EAF3FA 0%, #F2F4FF 100%);
      color: var(--glacier-navy);
      font-weight: 600;
      border-color: var(--glacier-border);
      box-shadow: inset 3px 0 0 var(--royal-cobalt);
    }

    /* Slide-Over Inspector Drawer */
    .drawer-backdrop {
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.26s ease;
    }
    .drawer-backdrop.open {
      opacity: 1;
      pointer-events: auto;
    }
    .drawer-panel {
      transform: translateX(102%);
      transition: transform 0.34s var(--ease-out-expo);
    }
    .drawer-panel.open {
      transform: translateX(0);
    }

    /* Stage, Step, Summary & IP Rotation Kinetic Keyframes */
    .stage-enter {
      animation: stageFadeUp 0.36s var(--ease-out-expo) both;
    }
    .step-enter {
      animation: stepReveal 0.28s var(--ease-out-expo) both;
    }
    .stagger-1 { animation: stageFadeUp 0.42s var(--ease-out-expo) 0.04s both; }
    .stagger-2 { animation: stageFadeUp 0.42s var(--ease-out-expo) 0.10s both; }
    .stagger-3 { animation: stageFadeUp 0.42s var(--ease-out-expo) 0.16s both; }
    .stagger-4 { animation: stageFadeUp 0.42s var(--ease-out-expo) 0.22s both; }

    .ip-rotated-flash {
      animation: glacierFlash 1.1s ease-out;
    }
    .summary-bump {
      animation: summaryPop 0.26s var(--ease-spring);
    }

    /* Inline Button Spinner */
    .spinner-ring {
      display: inline-block;
      width: 13px;
      height: 13px;
      border: 2px solid rgba(255, 255, 255, 0.35);
      border-top-color: #FFFFFF;
      border-radius: 999px;
      animation: spin360 0.65s linear infinite;
      vertical-align: -2px;
      margin-right: 6px;
    }
    .spinner-ring-dark {
      display: inline-block;
      width: 12px;
      height: 12px;
      border: 2px solid rgba(62, 57, 155, 0.22);
      border-top-color: var(--royal-cobalt);
      border-radius: 999px;
      animation: spin360 0.65s linear infinite;
      vertical-align: -2px;
      margin-right: 5px;
    }

    @keyframes stageFadeUp {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes stepReveal {
      from { opacity: 0; transform: translateY(6px) scale(0.995); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes liquid-shimmer {
      0%   { transform: translateX(-100%); }
      100% { transform: translateX(180%); }
    }
    @keyframes scan-sweep {
      0%   { left: -40%; }
      50%  { left: 55%; }
      100% { left: 105%; }
    }
    @keyframes radar-ping {
      0%   { transform: scale(0.95); opacity: 0.85; }
      80%, 100% { transform: scale(2.15); opacity: 0; }
    }
    @keyframes glacierFlash {
      0%   { background-color: rgba(140, 232, 250, 0.42); border-color: #38A3B8; }
      100% { background-color: transparent; }
    }
    @keyframes summaryPop {
      0%   { transform: scale(1); }
      45%  { transform: scale(1.035); color: #3E399B; }
      100% { transform: scale(1); }
    }
    @keyframes spin360 {
      to { transform: rotate(360deg); }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
    }

    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: #CBD8E6; border-radius: 999px; }
  