:root {
      color-scheme: dark;
      --ink: #f7f7f7;
      --muted: #a9a9a9;
      --line: #2b2b2b;
      --panel: #0b0b0b;
      --surface: #050505;
      --surface-soft: #101010;
      --accent: #ffffff;
      --accent-dark: #dcdcdc;
      --ok: #78f0a4;
      --warn: #ffd166;
      --miss: #ff6b7a;
      --cyan: #00ffcc;
      --pink: #ff0055;
    }

    * {
      box-sizing: border-box;
    }

    [hidden] {
      display: none !important;
    }

    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    html {
      min-height: 100%;
      background: var(--surface);
      overscroll-behavior-y: none;
    }

    body {
      margin: 0;
      min-height: 100vh;
      background:
        linear-gradient(rgba(18, 18, 18, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 18, 18, 0.3) 1px, transparent 1px),
        var(--surface);
      background-size: 40px 40px;
      animation: gridPulse 6s infinite ease-in-out;
      color: var(--ink);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      letter-spacing: 0;
      overflow-x: hidden;
      overscroll-behavior-y: none;
    }

    .shell {
      width: min(1280px, calc(100vw - 32px));
      margin: 0 auto;
      padding: 28px 0 14px;
    }

    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 12px 0 22px;
      border-bottom: 1px solid var(--line);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .brand-home {
      min-height: auto;
      border: 0;
      padding: 0;
      background: transparent;
      color: inherit;
      box-shadow: none;
      cursor: pointer;
      text-decoration: none;
    }

    .brand-home:hover,
    .brand-home:focus,
    .brand-home:active,
    .brand-home:visited {
      color: var(--ink);
      border-color: transparent;
      background: transparent;
      text-decoration: none;
    }

    .nekst-mark {
      width: 58px;
      height: 58px;
      position: relative;
      perspective: 700px;
    }

    .nekst-logo-container {
      position: absolute;
      inset: 13px;
      transform-style: preserve-3d;
      animation: miniCrazyOrbit 12s infinite linear;
    }

    .nekst-box-frame {
      position: absolute;
      inset: 0;
      border: 3px solid #ffffff;
      background: transparent;
      box-shadow: 0 0 12px rgba(255,255,255,0.35), inset 0 0 10px rgba(255,255,255,0.12);
      animation: miniBoxMorph 4s infinite ease-in-out, miniGlitchColor 7s infinite linear;
    }

    .nekst-logo-text {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      width: 100%;
      color: #fff;
      font-size: 5px;
      font-weight: 500;
      user-select: none;
      mix-blend-mode: difference;
    }

    .nekst-logo-text::before,
    .nekst-logo-text::after {
      content: "Nekst_Lab";
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      background: #050505;
    }

    .nekst-logo-text::before {
      left: 2px;
      text-shadow: -1px 0 var(--pink);
      clip: rect(8px, 80px, 18px, 0);
      animation: miniTextGlitch 3s infinite linear alternate-reverse;
    }

    .nekst-logo-text::after {
      left: -2px;
      text-shadow: -1px 0 var(--cyan), 0 1px #0000ff;
      clip: rect(18px, 80px, 30px, 0);
      animation: miniTextGlitch2 2.5s infinite linear alternate-reverse;
    }

    @keyframes miniCrazyOrbit {
      0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1); }
      20% { transform: rotateX(20deg) rotateY(-35deg) rotateZ(10deg) scale(1.08); }
      35% { transform: rotateX(-45deg) rotateY(60deg) rotateZ(-20deg) scale(0.9); filter: hue-rotate(90deg); }
      50% { transform: rotateX(10deg) rotateY(180deg) rotateZ(180deg) scale(1.12); }
      65% { transform: rotateX(70deg) rotateY(45deg) rotateZ(220deg) scale(0.92); }
      80% { transform: rotateX(-20deg) rotateY(-70deg) rotateZ(320deg) scale(1.1); filter: hue-rotate(270deg); }
      100% { transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg) scale(1); }
    }

    @keyframes miniBoxMorph {
      0%, 100% {
        border-radius: 0;
        border-width: 3px;
        transform: skew(0deg);
      }
      25% {
        border-radius: 0;
        transform: skew(-8deg, -4deg) scaleX(1.08);
        border-width: 5px;
      }
      50% {
        border-radius: 22% 8% 22% 8%;
        border-width: 2px;
      }
      75% {
        transform: scale(0.92) rotate(-5deg);
        border-width: 6px;
      }
    }

    @keyframes miniGlitchColor {
      0%, 19%, 21%, 69%, 71%, 100% {
        border-color: #ffffff;
        box-shadow: 0 0 12px rgba(255,255,255,0.35), inset 0 0 10px rgba(255,255,255,0.12);
      }
      20% {
        border-color: var(--pink);
        box-shadow: 0 0 18px var(--pink);
      }
      70% {
        border-color: var(--cyan);
        box-shadow: 0 0 18px var(--cyan);
      }
    }

    @keyframes miniTextGlitch {
      0% { clip: rect(3px, 80px, 14px, 0); transform: skew(0.4deg); }
      25% { clip: rect(16px, 80px, 3px, 0); transform: skew(-0.2deg); }
      50% { clip: rect(2px, 80px, 9px, 0); transform: skew(1deg); }
      75% { clip: rect(11px, 80px, 26px, 0); transform: skew(-0.4deg); }
      100% { clip: rect(18px, 80px, 10px, 0); transform: skew(0deg); }
    }

    @keyframes miniTextGlitch2 {
      0% { clip: rect(15px, 80px, 4px, 0); transform: translateX(-1px); }
      30% { clip: rect(20px, 80px, 8px, 0); transform: translateX(-2px); }
      60% { clip: rect(25px, 80px, 3px, 0); transform: translateX(-1px); }
      100% { clip: rect(21px, 80px, 16px, 0); transform: translateX(0); }
    }

    @keyframes gridPulse {
      0%, 100% { background-size: 40px 40px; }
      50% { background-size: 42px 42px; }
    }

    h1 {
      margin: 0;
      font-size: 28px;
      line-height: 1.1;
      font-weight: 760;
    }

    .brand-beta {
      position: relative;
      top: -0.65em;
      margin-left: 3px;
      color: var(--cyan);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
    }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: var(--muted);
      font-size: inherit;
      white-space: nowrap;
    }

    .header-actions {
      display: inline-flex;
      align-items: center;
      gap: 16px;
      margin-left: auto;
    }

    .header-video-menu {
      position: relative;
      display: inline-flex;
      align-items: center;
    }

    .quick-demo-button {
      display: none;
    }

    .faq-header-link {
      text-decoration: none;
    }

    .header-video-actions {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .video-nav-link {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      min-height: auto;
      border: 0;
      padding: 0;
      background: transparent;
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 4px;
      white-space: nowrap;
      box-shadow: none;
      cursor: pointer;
    }

    .video-nav-link svg,
    .quick-demo-button svg {
      width: 14px;
      height: 14px;
      flex: 0 0 auto;
      fill: currentColor;
      stroke: none;
    }

    .video-nav-link:hover {
      border-color: transparent;
      background: transparent;
      color: var(--accent-dark);
    }

    .header-auth-actions {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .auth-nav-link {
      border: 0;
      padding: 0;
      background: transparent;
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 4px;
      white-space: nowrap;
    }

    .auth-nav-link:hover {
      color: var(--accent-dark);
    }

    .faq-nav-link {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
    }

    .dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--warn);
    }

    .dot.ok {
      background: var(--ok);
    }

    main {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
      gap: 16px;
      padding-top: 24px;
      align-items: start;
    }

    .tab-panel {
      display: none;
    }

    .tab-panel.active {
      display: block;
    }

    .workspace {
      display: grid;
      gap: 16px;
    }

    .workflow-copy {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
    }

    .workflow-copy strong {
      display: block;
      margin-bottom: 4px;
      color: var(--ok);
      font-size: 16px;
    }

    .workflow-detail {
      display: inline-block;
    }

    .workflow-emphasis {
      font-weight: 700;
    }

    body.intro-animation-enabled.file-selection-pending .intro-panel {
      opacity: 0;
      transform: translateY(8px);
      animation: first-load-panel-in 640ms ease 0.5s forwards;
    }

    body.intro-animation-enabled.file-selection-pending .intro-panel .workflow-copy strong {
      opacity: 0;
      transform: translateY(4px);
      animation: first-load-copy-in 640ms ease 0.5s forwards;
    }

    body.intro-animation-enabled.file-selection-pending .intro-panel .workflow-detail {
      opacity: 0;
      transform: translateY(4px);
      animation: first-load-copy-in 640ms ease 2s forwards;
    }

    body.intro-animation-enabled.file-selection-pending .upload-panel {
      opacity: 0;
      transform: translateY(10px);
      animation: first-load-panel-in 720ms ease 3.5s forwards;
    }

    @keyframes first-load-panel-in {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes first-load-copy-in {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      body.intro-animation-enabled.file-selection-pending .intro-panel,
      body.intro-animation-enabled.file-selection-pending .intro-panel .workflow-copy strong,
      body.intro-animation-enabled.file-selection-pending .intro-panel .workflow-detail,
      body.intro-animation-enabled.file-selection-pending .upload-panel {
        opacity: 1;
        transform: none;
        animation: none;
      }
    }

    .post-file-reveal {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 220ms ease, transform 220ms ease, max-height 220ms ease, padding 220ms ease, margin 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
    }

    body.file-selection-pending .post-file-reveal {
      max-height: 0;
      margin-top: 0;
      padding-top: 0;
      padding-bottom: 0;
      border-color: transparent;
      box-shadow: none;
      opacity: 0;
      overflow: hidden;
      pointer-events: none;
      transform: translateY(8px);
      visibility: hidden;
    }

    body.file-selection-pending .side.post-file-reveal,
    body.file-selection-pending label.post-file-reveal,
    body.file-selection-pending .submit-row.post-file-reveal {
      padding-top: 0;
      padding-bottom: 0;
    }

    .panel {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 18px;
      box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 10px 30px rgba(0,0,0,0.35);
    }

    .dropzone {
      display: grid;
      place-items: center;
      min-height: 260px;
      border: 1px solid #1d1d1d;
      border-radius: 8px;
      background: #ffffff;
      color: #050505;
      text-align: center;
      padding: 24px 20px;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02), 0 10px 24px rgba(0,0,0,0.22);
      transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
    }

    .dropzone.dragging {
      border-color: var(--cyan);
      background: #ffffff;
      transform: translateY(-1px);
    }

    .dropzone-content {
      display: grid;
      justify-items: center;
      gap: 10px;
      width: min(470px, 100%);
    }

    .upload-icon {
      width: 58px;
      height: 58px;
      margin-bottom: 4px;
      object-fit: contain;
      mix-blend-mode: multiply;
    }

    .drop-copy {
      margin: -4px 0 0;
      color: #050505;
      font-size: 24px;
      line-height: 1.2;
      font-weight: 520;
    }

    .drop-or {
      margin: -2px 0 0;
      color: #050505;
      font-size: 18px;
      line-height: 1.2;
      font-weight: 420;
    }

    .mobile-drop-or {
      display: none;
      margin: 0;
      color: #050505;
      font-size: 18px;
      line-height: 1.2;
      font-weight: 420;
    }

    .file-name {
      margin: 0;
      color: #4b4b4b;
      font-size: 14px;
      overflow-wrap: anywhere;
      min-height: 18px;
      transition: color 120ms ease;
    }

    .file-name.error {
      color: #9b111e;
      font-weight: 650;
    }

    .file-name.notice {
      color: #050505;
      font-weight: 650;
    }

    .file-preview {
      width: 96px;
      height: 96px;
      display: grid;
      place-items: center;
      margin: 2px 0 0;
      padding: 0;
      border: 1px solid #d8d8d8;
      border-radius: 8px;
      background: #ffffff;
      color: #050505;
      overflow: hidden;
      box-shadow: 0 8px 18px rgba(0,0,0,0.16);
    }

    .file-preview[hidden] {
      display: none;
    }

    .file-preview img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .file-preview-icon {
      min-width: 54px;
      padding: 18px 8px;
      border: 2px solid #050505;
      border-radius: 4px;
      color: #050505;
      font-size: 14px;
      font-weight: 760;
      line-height: 1;
      text-transform: uppercase;
    }

    .file-preview:not(.image-preview-ready) {
      cursor: default;
    }

    .actions {
      display: none;
    }

    .submit-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 7px;
      margin-top: 3px;
      align-items: start;
      justify-items: center;
      text-align: center;
    }

    button,
    .file-button {
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: 7px;
      padding: 10px 12px;
      background: #111;
      color: var(--ink);
      font: inherit;
      font-size: 14px;
      font-weight: 650;
      cursor: pointer;
    }

    button.primary {
      border-color: var(--accent);
      background: var(--accent);
      color: #050505;
      box-shadow: 0 0 18px rgba(255,255,255,0.16);
    }

    #submitButton {
      width: 100%;
      max-width: 320px;
      justify-self: center;
    }

    .button-with-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      white-space: nowrap;
    }

    button > svg,
    .file-button > svg {
      width: 16px;
      height: 16px;
      max-width: 16px;
      max-height: 16px;
      flex: 0 0 16px;
    }

    .button-with-icon > svg {
      width: 16px;
      height: 16px;
      flex: 0 0 auto;
      stroke: currentColor;
      stroke-width: 2;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    button:hover,
    .file-button:hover {
      border-color: var(--accent-dark);
    }

    .dropzone .file-button {
      min-height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin: 0;
      border-color: #050505;
      background: #050505;
      color: #ffffff;
      font-size: 20px;
      font-weight: 560;
      line-height: 1.05;
    }

    .dropzone .file-button:hover {
      background: #151515;
      border-color: #151515;
    }

    .dropzone .file-button svg {
      width: 30px;
      height: 30px;
      max-width: 30px;
      max-height: 30px;
      flex: 0 0 auto;
    }

    .dropzone .file-button path {
      stroke: currentColor;
      stroke-width: 1.9;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .upload-actions {
      display: grid;
      grid-template-columns: minmax(170px, 1fr) minmax(150px, 1fr);
      gap: 8px;
      width: min(430px, 100%);
      max-width: 430px;
      align-items: stretch;
    }

    .dropzone .file-button,
    .camera-button {
      width: 100%;
      max-width: 230px;
      justify-self: center;
    }

    .camera-button {
      min-height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border-color: #050505;
      background: #050505;
      color: #ffffff;
      font-size: 20px;
      line-height: 1.05;
      font-weight: 560;
      white-space: nowrap;
    }

    .camera-button:hover {
      background: #151515;
      border-color: #151515;
    }

    .camera-button svg {
      width: 32px;
      height: 32px;
      max-width: 32px;
      max-height: 32px;
      flex: 0 0 auto;
    }

    .camera-button path,
    .camera-button circle {
      stroke: currentColor;
      stroke-width: 1.9;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .camera-panel {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: grid;
      place-items: center;
      padding: 24px;
      background: rgba(0,0,0,0.72);
      backdrop-filter: blur(2px);
    }

    .camera-panel[hidden] {
      display: none;
    }

    .camera-dialog {
      width: min(430px, 100%);
      display: grid;
      gap: 12px;
      padding: 14px;
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 8px;
      background: #f7f7f7;
      color: #050505;
      box-shadow: 0 24px 80px rgba(0,0,0,0.6);
    }

    .camera-panel video {
      width: 100%;
      aspect-ratio: 3 / 4;
      max-height: min(72vh, 720px);
      border-radius: 7px;
      background: #050505;
      object-fit: contain;
    }

    .camera-panel.landscape-stream .camera-dialog {
      width: min(700px, 100%);
    }

    .camera-panel.landscape-stream video {
      aspect-ratio: 16 / 9;
      max-height: min(58vh, 520px);
    }

    .camera-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .camera-actions button {
      min-height: 42px;
      border-color: #050505;
      background: #050505;
      color: #ffffff;
    }

    .camera-actions button:hover {
      background: #151515;
      border-color: #151515;
    }

    .camera-message {
      min-height: 18px;
      margin: 0;
      color: #4b4b4b;
      font-size: 13px;
      line-height: 1.35;
    }

    .camera-helper {
      display: grid;
      gap: 4px;
      margin: -4px 0 0;
      color: #4b4b4b;
      font-size: 12px;
      line-height: 1.35;
    }

    .camera-helper p {
      margin: 0;
    }

    .camera-helper-emphasis {
      color: #b42318;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 2px;
    }

    .image-preview-panel {
      position: fixed;
      inset: 0;
      z-index: 90;
      display: grid;
      place-items: center;
      padding: 24px;
      background: rgba(0,0,0,0.78);
      backdrop-filter: blur(2px);
    }

    .image-preview-panel[hidden] {
      display: none;
    }

    .image-preview-dialog {
      width: fit-content;
      max-width: calc(100vw - 48px);
      max-height: calc(100vh - 48px);
      display: grid;
      gap: 8px;
      padding: 8px;
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 8px;
      background: #f7f7f7;
      color: #050505;
      box-shadow: 0 24px 80px rgba(0,0,0,0.62);
      overflow: auto;
    }

    .image-preview-dialog img {
      display: block;
      width: auto;
      height: auto;
      max-width: calc(100vw - 66px);
      max-height: min(72vh, 760px);
      border-radius: 7px;
      background: #050505;
      object-fit: contain;
      justify-self: center;
    }

    .image-preview-caption {
      width: 100%;
      margin: 0;
      color: #4b4b4b;
      font-size: 13px;
      line-height: 1.35;
      text-align: center;
      overflow-wrap: anywhere;
    }

    button.primary:hover {
      background: var(--accent-dark);
    }

    button:disabled {
      opacity: 0.55;
      cursor: not-allowed;
    }

    input[type="file"] {
      position: absolute;
      inline-size: 1px;
      block-size: 1px;
      opacity: 0;
    }

    label {
      display: block;
      color: var(--muted);
      font-size: 14px;
      font-weight: 650;
      margin: 12px 0 6px;
    }

    select {
      width: 100%;
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: 7px;
      padding: 9px 11px;
      background: #050505;
      color: var(--ink);
      font: inherit;
      font-size: 14px;
      font-weight: 620;
    }

    .destination-select-field {
      position: relative;
      width: min(100%, 360px);
      margin-inline: auto;
    }

    .destination-loading-label {
      display: none;
      position: absolute;
      inset: 1px 42px 1px 11px;
      z-index: 2;
      align-items: center;
      justify-content: center;
      background: #050505;
      color: var(--ink);
      font-size: 14px;
      font-weight: 620;
      line-height: 1;
      pointer-events: none;
    }

    .destination-select-field.loading select {
      color: transparent;
    }

    .destination-select-field.loading .destination-loading-label {
      display: flex;
    }

    .destination-loading-dots {
      display: inline-flex;
    }

    .destination-loading-dots span {
      animation: destination-dot-pulse 1.05s infinite;
      opacity: 0.25;
      will-change: opacity;
    }

    .destination-loading-dots span:nth-child(2) {
      animation-delay: 0.18s;
    }

    .destination-loading-dots span:nth-child(3) {
      animation-delay: 0.36s;
    }

    @keyframes destination-dot-pulse {
      0%, 60%, 100% {
        opacity: 0.25;
      }

      25% {
        opacity: 1;
      }
    }

    .destination-select-field::before,
    .destination-select-field::after {
      content: "";
      position: absolute;
      right: 26px;
      z-index: 1;
      width: 8px;
      height: 8px;
      border: solid var(--ink);
      border-width: 0 2px 2px 0;
      pointer-events: none;
    }

    .destination-select-field::before {
      top: calc(50% - 9px);
      transform: rotate(225deg);
    }

    .destination-select-field::after {
      top: calc(50% + 1px);
      transform: rotate(45deg);
    }

    .submit-row select {
      appearance: none;
      -webkit-appearance: none;
      max-width: none;
      padding-inline: 42px;
      text-align: center;
      text-align-last: center;
      -moz-text-align-last: center;
    }

    .submit-row select option {
      text-align: center;
      text-align-last: center;
    }

    .destination-note {
      margin: 8px auto 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .destination-label {
      margin-top: 10px;
      text-align: center;
    }

    .zip-option-group {
      display: grid;
      gap: 7px;
      justify-items: stretch;
      margin-top: 6px;
      width: min(100%, 390px);
      margin-left: auto;
      margin-right: auto;
    }

    .email-proof-option-group {
      display: grid;
      gap: 7px;
      justify-items: stretch;
      margin-top: 0;
      margin-bottom: 6px;
      width: min(100%, 390px);
      margin-left: auto;
      margin-right: auto;
    }

    .zip-option {
      display: grid;
      grid-template-columns: 22px minmax(0, 1fr);
      column-gap: 9px;
      row-gap: 1px;
      align-items: start;
      margin: 0;
      width: 100%;
      color: var(--muted);
      font-size: 14px;
      font-weight: 400;
      text-align: left;
    }

    .zip-option input {
      position: static;
      inline-size: 16px;
      block-size: 16px;
      margin-top: 1px;
      opacity: 1;
      accent-color: var(--accent);
      justify-self: center;
    }

    .signing-key-option {
      margin-top: 2px;
    }

    .signing-key-lock {
      display: inline-block;
      margin-left: 2px;
      transition: opacity 160ms ease, filter 160ms ease;
    }

    .option-title {
      grid-column: 2;
      line-height: 1.35;
    }

    .option-title,
    .option-title span {
      color: var(--muted);
      font-size: 14px;
      font-weight: 400;
    }

    .option-description {
      grid-column: 2;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.3;
    }

    .signing-key-description {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.3;
    }

    .signing-key-option.disabled {
      opacity: 0.32;
      cursor: not-allowed;
    }

    .signing-key-option.disabled .signing-key-lock,
    .signing-key-option.locked .signing-key-lock {
      filter: grayscale(1) brightness(0.62);
      opacity: 0.72;
    }

    .signing-key-option.disabled input {
      cursor: not-allowed;
    }

    .option-muted {
      color: var(--muted);
      font-size: 12px;
      font-weight: 400;
    }

    .email-proof-field {
      display: grid;
      gap: 5px;
      justify-items: stretch;
      width: 100%;
    }

    .email-proof-field[hidden] {
      display: none;
    }

    .email-proof-field input {
      width: 100%;
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: 7px;
      padding: 9px 11px;
      color: var(--ink);
      background: #050505;
      font: inherit;
      font-size: 14px;
      text-align: center;
    }

    .email-proof-field .newsletter-option {
      color: var(--muted);
      font-size: 12px;
      font-weight: 400;
    }

    .email-proof-field .newsletter-option input {
      width: 15px;
      min-height: 15px;
      inline-size: 15px;
      block-size: 15px;
      padding: 0;
    }

    @media (min-width: 761px) and (pointer: fine) {
      .zip-option-group,
      .email-proof-option-group {
        width: min(100%, 360px);
      }

      .zip-option {
        grid-template-columns: 16px minmax(0, 1fr);
      }

      .zip-option input {
        justify-self: start;
      }
    }

    .email-proof-field input:disabled {
      color: var(--muted);
      background: #050505;
    }

    .email-proof-message {
      min-height: 16px;
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
      text-align: center;
    }

    .email-proof-message.ok {
      color: var(--ok);
    }

    .email-proof-message.error {
      color: var(--miss);
    }

    .privacy-note {
      margin: -1px auto 2px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .submit-hint {
      margin: -2px auto 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .proof-email-shell {
      min-height: 100vh;
    }

    .proof-email-page {
      display: grid;
      min-height: 42vh;
      place-items: center;
      padding: 40px 0;
    }

    .proof-email-card {
      width: min(100%, 560px);
      text-align: center;
    }

    .proof-email-card p {
      margin: 0 auto 14px;
      max-width: 460px;
      color: var(--muted);
      line-height: 1.55;
    }

    .proof-email-home-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-top: 8px;
    }

    a {
      color: var(--cyan);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    .output {
      display: grid;
      gap: 12px;
    }

    .output.record-opened {
      animation: recordOpenedPulse 1400ms ease;
    }

    .record-notice {
      min-height: 0;
      margin: 0;
      color: var(--ok);
      font-size: 13px;
      opacity: 0;
      transform: translateY(-4px);
      transition: opacity 180ms ease, transform 180ms ease;
    }

    .record-notice:empty {
      display: none;
    }

    .record-notice.active {
      display: block;
      min-height: 18px;
      opacity: 1;
      transform: translateY(0);
    }

    @keyframes recordOpenedPulse {
      0% {
        border-color: var(--line);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 10px 30px rgba(0,0,0,0.35);
      }
      18% {
        border-color: var(--ok);
        box-shadow: 0 0 0 1px rgba(120,240,164,0.65), 0 0 28px rgba(120,240,164,0.22);
      }
      100% {
        border-color: var(--line);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 10px 30px rgba(0,0,0,0.35);
      }
    }

    .result-state {
      margin: 0;
      font-size: 18px;
      font-weight: 760;
    }

    .result-state:empty {
      display: none;
    }

    .result-state.ok {
      color: var(--ok);
    }

    .result-state.miss,
    .result-state.error {
      color: var(--miss);
    }

    dl {
      display: grid;
      gap: 10px;
      margin: 0;
    }

    dt {
      color: var(--muted);
      font-size: 12px;
      font-weight: 760;
      text-transform: uppercase;
    }

    dd {
      margin: 3px 0 0;
      overflow-wrap: anywhere;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
      font-size: 13px;
      line-height: 1.45;
    }

    .result-message-only dd {
      margin-top: 0;
      font-family: var(--font);
    }

    .terminal-error-message dd {
      color: var(--miss);
      font-size: 13px;
      font-weight: 500;
      line-height: 1.4;
    }

    .explorer-confirmation-warning {
      margin: 6px 0 0;
      color: var(--miss);
      font-family: var(--font);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.35;
    }

    .side {
      display: grid;
      gap: 16px;
    }

    .progress-steps {
      display: grid;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .progress-bar {
      position: relative;
      height: 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      overflow: hidden;
      background: #050505;
    }

    .progress-fill {
      height: 100%;
      width: 0%;
      background: #fff;
      box-shadow: 0 0 14px rgba(255,255,255,0.65);
      transition: width 220ms ease;
    }

    .progress-percent {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      padding: 1px 4px;
      border-radius: 999px;
      background: rgba(5,5,5,0.58);
      color: #ffffff;
      font-size: 9px;
      font-weight: 800;
      line-height: 1;
      text-align: center;
      pointer-events: none;
    }

    .progress-message {
      min-height: 18px;
      margin: 0;
      overflow: hidden;
      color: var(--ok);
      font-size: 13px;
      line-height: normal;
      text-align: left;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .progress-message.error {
      color: var(--miss);
    }

    .progress-message.warning {
      color: var(--ok);
    }

    .progress-message.loading::after {
      content: "...";
      display: inline-block;
      min-width: 1.1em;
      text-align: left;
      animation: ellipsis-flash 1s steps(2, start) infinite;
    }

    .progress-steps li {
      display: flex;
      align-items: center;
      gap: 9px;
      color: var(--muted);
      font-size: 13px;
    }

    .progress-dot {
      width: 9px;
      height: 9px;
      border-radius: 999px;
      border: 1px solid #98a6b0;
      background: #050505;
    }

    .progress-steps li.active .progress-dot {
      border-color: var(--accent);
      background: var(--accent);
      box-shadow: 0 0 0 5px rgba(11,107,203,0.13);
      animation: pulse 1s ease-in-out infinite;
    }

    .progress-ellipsis {
      display: inline-block;
      min-width: 1.1em;
      animation: ellipsis-flash 1s steps(2, start) infinite;
    }

    .progress-steps li.done .progress-dot {
      border-color: var(--ok);
      background: var(--ok);
    }

    @keyframes pulse {
      0%, 100% {
        transform: scale(0.9);
      }
      50% {
        transform: scale(1.2);
      }
    }

    @keyframes ellipsis-flash {
      0%, 100% {
        opacity: 0.2;
      }
      50% {
        opacity: 1;
      }
    }

    .steps {
      margin: 0;
      padding-left: 18px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
    }

    .warning-list {
      margin: 0;
      padding-left: 18px;
      color: var(--warn);
      font-size: 14px;
      line-height: 1.45;
    }

    .empty {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
      margin: 0;
    }

    .mono {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
      overflow-wrap: anywhere;
    }

    .admin-section-title {
      margin: 0 0 12px;
      font-size: 18px;
      line-height: 1.2;
      color: var(--ink);
    }

    .mock-payment-panel {
      display: grid;
      gap: 8px;
      justify-items: center;
      margin-top: 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 12px;
      background: rgba(255,255,255,0.035);
      text-align: center;
    }

    .mock-payment-panel[hidden] {
      display: none;
    }

    .mock-payment-panel strong {
      display: block;
      margin-bottom: 4px;
      color: var(--ink);
      font-size: 14px;
    }

    .mock-payment-panel p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .mock-payment-panel .pin-message:empty {
      display: none;
    }

    .payment-proof-summary {
      display: grid;
      gap: 4px;
      width: 100%;
      max-width: 320px;
      padding: 12px 14px;
      border: 1px solid rgba(255,255,255,0.16);
      border-radius: 8px;
      background: rgba(255,255,255,0.06);
      text-align: left;
    }

    .payment-proof-summary span {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.25;
    }

    .payment-proof-summary span[hidden] {
      display: none;
    }

    #paymentProofSummaryAmount,
    #paymentSigningKeySummaryAmount,
    #paymentTotalSummaryAmount {
      color: var(--accent);
      font-size: 14px;
      font-weight: 800;
    }

    .payment-summary-total-amount {
      font-size: 14px;
      font-weight: 800;
    }

    .payment-summary-divider {
      height: 1px;
      margin: 2px 0;
      background: rgba(255,255,255,0.16);
    }

    .payment-summary-total-label {
      margin-top: 2px;
    }

    .payment-method-heading {
      margin-top: 4px;
    }

    .payment-action-instruction {
      width: 100%;
      max-width: 320px;
      margin: 0 auto;
      color: var(--ink) !important;
      font-size: 12px !important;
      line-height: 1.35 !important;
      text-align: center;
    }

    .payment-action-instruction[hidden] {
      display: none;
    }

    .mock-payment-actions {
      display: grid;
      justify-items: center;
      gap: 8px;
      width: 100%;
      max-width: 320px;
      margin-top: 2px;
      margin-right: auto;
      margin-left: auto;
    }

    #mockPaymentMessage {
      width: 100%;
      max-width: 320px;
      min-height: auto;
      text-align: center;
    }

    .paypal-button-container {
      width: 100%;
      max-width: 320px;
      min-height: 46px;
      margin: 0 auto;
      border-radius: 2px;
      line-height: 0;
      transition: outline-color 120ms ease;
    }

    .paypal-button-container[hidden] {
      display: none;
    }

    .paypal-preparing {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      min-height: 46px;
      color: var(--ink);
      font-size: 13px;
      font-weight: 700;
      text-align: center;
    }

    .paypal-preparing-dots {
      display: inline-flex;
      min-width: 18px;
      margin-left: 2px;
    }

    .paypal-preparing-dots i {
      font-style: normal;
      animation: paypal-preparing-dot 1.05s infinite;
      opacity: 0.25;
    }

    .paypal-preparing-dots i:nth-child(2) {
      animation-delay: 0.18s;
    }

    .paypal-preparing-dots i:nth-child(3) {
      animation-delay: 0.36s;
    }

    @keyframes paypal-preparing-dot {
      0%, 60%, 100% { opacity: 0.25; }
      25% { opacity: 1; }
    }

    .square-payment-container {
      width: 100%;
      max-width: min(100%, 480px);
      box-sizing: border-box;
      margin: 0 auto;
    }

    .square-payment-container.square-apple-pay {
      display: grid;
      justify-items: center;
      max-width: 320px;
      border-radius: 2px;
      transition: outline-color 120ms ease;
    }

    .square-payment-container[hidden],
    .square-card-container[hidden] {
      display: none;
    }

    .square-card-container {
      min-height: 90px;
      margin-bottom: 10px;
      color: #d8f8df;
      font-size: 13px;
    }

    .square-card-container iframe {
      display: block;
      width: 100%;
      color-scheme: light;
    }

    .square-card-brands {
      display: grid;
      gap: 8px;
      width: 100%;
      max-width: 320px;
      margin: 0 auto 12px;
      background: transparent;
      justify-items: center;
    }

    .square-card-brands[hidden] {
      display: none;
    }

    .square-card-brands img {
      display: block;
      width: 100%;
      height: auto;
      border: 0;
    }

    .square-card-brands img:first-child {
      max-width: 320px;
      border-radius: 0;
    }

    .square-card-brands img:last-child {
      max-width: 320px;
    }

    .square-payment-container .payment-action-instruction {
      display: block;
      width: 100%;
      max-width: 320px;
      margin: 10px auto 12px;
    }

    .square-wallet-container {
      width: 100%;
      max-width: 320px;
      margin: 0 auto;
      min-height: 44px;
    }

    #squarePaymentButton {
      background: #ffffff;
      color: #050505;
      display: block;
      width: 100%;
      max-width: 320px;
      margin: 0 auto;
      box-sizing: border-box;
    }

    #squarePaymentButton:focus-visible {
      outline: 3px solid #ffffff;
      outline-offset: 3px;
    }

    @media (hover: hover) {
      #squarePaymentButton:hover,
      .square-payment-container.square-apple-pay:hover,
      .paypal-button-container:hover {
        outline: 3px solid #ffffff;
        outline-offset: 3px;
      }
    }

    #squarePaymentButton.apple-pay-action-button {
      display: grid;
      place-items: center;
      min-height: 54px;
      padding: 0;
      overflow: hidden;
      background: #ffffff;
      color: #050505;
      border-color: #050505;
      border-radius: 2px;
    }

    #squarePaymentButton.apple-pay-action-button img {
      display: block;
      width: 100%;
      height: 54px;
      object-fit: contain;
      padding: 4px 36px;
      box-sizing: border-box;
    }

    @supports (-webkit-appearance: -apple-pay-button) {
      #squarePaymentButton.apple-pay-action-button {
        -webkit-appearance: -apple-pay-button;
        -apple-pay-button-type: continue;
        -apple-pay-button-style: white-outline;
        height: 54px;
      }

      #squarePaymentButton.apple-pay-action-button img {
        display: none;
      }
    }

    .payment-method-choices {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      width: 100%;
      max-width: 320px;
      justify-items: center;
    }

    .payment-method-choice {
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 10px;
      background: rgba(255,255,255,0.03);
    }

    .payment-method-choice {
      display: grid;
      place-items: center;
      width: 100%;
      max-width: 320px;
      min-height: 54px;
      border-radius: 6px;
      padding: 10px 14px;
      text-align: center;
      transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
    }

    .payment-method-choice.selected {
      box-shadow: 0 0 0 3px var(--accent);
      transform: translateY(-1px);
    }

    .payment-method-choice:focus-visible {
      border-color: #ffffff;
      outline: 3px solid #ffffff;
      outline-offset: 3px;
      transform: translateY(-1px);
    }

    @media (hover: hover) {
      .payment-method-choice:hover {
        border-color: #ffffff;
        outline: 3px solid #ffffff;
        outline-offset: 3px;
        transform: translateY(-1px);
      }
    }

    .payment-method-choice.selected:focus-visible {
      outline-color: #ffffff;
      box-shadow: 0 0 0 3px var(--accent);
    }

    @media (hover: hover) {
      .payment-method-choice.selected:hover {
        outline-color: #ffffff;
        box-shadow: 0 0 0 3px var(--accent);
      }
    }

    .payment-logo {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-width: 0;
      min-height: 0;
      border-radius: 0;
      padding: 0;
      font-weight: 800;
      letter-spacing: 0;
      line-height: 1;
      box-shadow: none;
    }

    .payment-logo img {
      display: block;
      max-width: 100%;
      height: auto;
      object-fit: contain;
    }

    .payment-method-choice-paypal,
    .payment-method-choice-apple_pay,
    .payment-method-choice-google_pay {
      min-height: 54px;
      padding: 0;
      overflow: hidden;
      background: transparent;
    }

    .payment-logo-paypal,
    .payment-logo-apple_pay,
    .payment-logo-google_pay {
      width: 100%;
      height: 54px;
    }

    .payment-logo-paypal img,
    .payment-logo-apple_pay img,
    .payment-logo-google_pay img {
      width: 100%;
      height: 54px;
    }

    .payment-method-choice-square_card {
      border-color: #000;
      background: #000;
      color: #fff;
    }

    .payment-logo-square_card {
      background: transparent;
      color: #fff;
      font-size: 19px;
      font-weight: 650;
    }

    .card-glyph {
      position: relative;
      width: 27px;
      height: 18px;
      border: 2px solid currentColor;
      border-radius: 3px;
    }

    .card-glyph::after {
      content: "";
      position: absolute;
      inset: 4px 0 auto;
      border-top: 2px solid currentColor;
    }

    .payment-method-choice-paypal {
      border-color: #f6c658;
      border-radius: 0;
      background: #f6c658;
      color: #003087;
    }

    .payment-logo-paypal {
      background: #f6c658;
      color: #003087;
      overflow: hidden;
    }

    .payment-logo-paypal img {
      width: calc(100% + 4px);
      height: calc(100% + 4px);
      margin: -2px;
      object-fit: fill;
      object-position: center;
    }

    .payment-method-choice-apple_pay {
      border-color: #111;
      background: #fff;
      color: #111;
    }

    .payment-logo-apple_pay {
      background: transparent;
      color: #111;
      font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    }

    .payment-logo-apple_pay img {
      object-fit: contain;
      padding: 4px 36px;
    }

    .payment-method-choice-google_pay {
      border-color: transparent;
      color: #202124;
    }

    .payment-logo-google_pay {
      background: transparent;
      color: #202124;
      font-family: "Product Sans", Arial, sans-serif;
    }

    .payment-logo-google_pay img {
      object-fit: fill;
    }

    .mock-payment-actions button {
      width: 100%;
      max-width: 320px;
    }

    #mockPaymentButton {
      border-color: #ffffff;
      background: #ffffff;
      color: #050505;
    }

    .floating-feedback {
      position: fixed;
      z-index: 10000;
      left: 50%;
      bottom: 34px;
      display: flex;
      align-items: center;
      gap: 12px;
      max-width: min(420px, calc(100vw - 32px));
      padding: 12px 18px 12px 12px;
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 999px;
      background: rgba(12, 15, 14, 0.96);
      color: #fff;
      box-shadow: 0 18px 55px rgba(0,0,0,0.48);
      opacity: 0;
      transform: translate(-50%, 28px) scale(0.86);
      pointer-events: none;
      transition: opacity 220ms ease, transform 320ms cubic-bezier(.2,.85,.25,1.25);
    }

    .floating-feedback.visible {
      opacity: 1;
      transform: translate(-50%, 0) scale(1);
    }

    .floating-feedback-icon {
      display: grid;
      place-items: center;
      flex: 0 0 42px;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: #62e68a;
      color: #06250f;
      font-size: 26px;
      font-weight: 900;
      animation: feedback-icon-pop 700ms cubic-bezier(.2,.85,.25,1.35) both;
    }

    .floating-feedback-download .floating-feedback-icon {
      background: var(--accent);
      color: #050505;
      animation: download-arrow-bounce 850ms ease-in-out 2;
    }

    .floating-feedback strong,
    .floating-feedback small {
      display: block;
    }

    .floating-feedback strong {
      margin-bottom: 2px;
      font-size: 14px;
    }

    .floating-feedback small {
      max-width: 300px;
      overflow: hidden;
      color: #b8bfbb;
      font-size: 11px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    @keyframes feedback-icon-pop {
      0% { transform: scale(0) rotate(-25deg); }
      65% { transform: scale(1.18) rotate(5deg); }
      100% { transform: scale(1) rotate(0); }
    }

    @keyframes download-arrow-bounce {
      0%, 100% { transform: translateY(0); }
      45% { transform: translateY(7px); }
    }

    .payment-method-choice-text {
      display: grid;
      gap: 3px;
      min-width: 0;
    }

    .payment-method-choice-text strong {
      color: var(--ink);
      font-size: 14px;
      line-height: 1.2;
    }

    .payment-method-choice-text span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.3;
    }

    .account-shell {
      display: grid;
      gap: 16px;
    }

    .account-card,
    .auth-box {
      display: grid;
      gap: 10px;
    }

    .account-page-panel {
      display: grid;
      gap: 18px;
      width: min(1180px, 100%);
      margin: 0 auto;
    }

    .account-page-header,
    .account-section-header {
      display: flex;
      flex-wrap: wrap;
      align-items: end;
      justify-content: space-between;
      gap: 14px;
    }

    .account-actions-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .account-page-subtitle {
      margin: 6px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
    }

    .account-signed-out-card {
      display: grid;
      justify-items: start;
      gap: 14px;
    }

    .auth-forms {
      display: grid;
      gap: 16px;
    }

    .auth-dialog {
      position: relative;
      z-index: 1;
      width: min(330px, 100%);
      max-height: min(760px, calc(100vh - 40px));
      overflow: auto;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #080808;
      padding: 18px;
      box-shadow: 0 180px 520px 220px rgba(0,0,0,0.78), 0 54px 190px 96px rgba(0,0,0,0.68);
    }

    .modal-close-button {
      display: inline-grid;
      place-items: center;
      width: 38px;
      min-width: 38px;
      height: 38px;
      min-height: 38px;
      border: 1px solid var(--line);
      border-radius: 7px;
      padding: 0;
      background: #111;
      color: var(--ink);
      font-size: 20px;
      font-weight: 700;
      line-height: 1;
    }

    .modal-close-button:hover {
      border-color: var(--ink);
    }

    .auth-box {
      padding: 0;
      border: 0;
      background: transparent;
      position: relative;
    }

    .saved-proof-dialog {
      position: relative;
      z-index: 1;
      width: min(340px, 100%);
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #080808;
      padding: 18px;
      box-shadow: 0 140px 420px 170px rgba(0,0,0,0.76), 0 44px 150px 80px rgba(0,0,0,0.64);
    }

    .saved-proof-message {
      margin: 0 0 14px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
    }

    .auth-title-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 2px;
    }

    .auth-forms .auth-title-row {
      justify-content: flex-end;
    }

    .auth-forms #loginForm .auth-title-row,
    .auth-forms #registerForm .auth-title-row {
      position: absolute;
      top: 0;
      right: 0;
      margin: 0;
    }

    .auth-forms #forgotPasswordForm .auth-title-row,
    .auth-forms #resetPasswordForm .auth-title-row {
      justify-content: space-between;
    }

    .auth-title-row .admin-section-title {
      margin: 0;
    }

    .auth-box input {
      width: 100%;
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: 7px;
      padding: 9px 11px;
      background: #050505;
      color: var(--ink);
      font: inherit;
      font-size: 14px;
    }

    .auth-box input:disabled {
      color: var(--muted);
      opacity: 0.72;
      cursor: not-allowed;
    }

    .password-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 42px;
      gap: 8px;
      align-items: end;
    }

    .password-row input {
      min-width: 0;
    }

    .auth-help {
      margin: -2px 0 2px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .auth-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 16px;
      align-items: center;
      justify-content: center;
    }

    .text-link {
      min-height: auto;
      border: 0;
      padding: 0;
      background: transparent;
      color: var(--accent-dark);
      font-size: 13px;
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
      box-shadow: none;
    }

    .text-link:hover {
      color: var(--ink);
      border-color: transparent;
    }

    .account-details {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      margin: 0;
      align-items: start;
    }

    .account-details div {
      min-width: 0;
    }

    .account-details dt {
      color: var(--muted);
      font-size: 11px;
      font-weight: 760;
      text-transform: uppercase;
    }

    .account-details dd {
      margin: 5px 0 0;
      overflow-wrap: anywhere;
    }

    .account-change-email-item dd {
      margin-top: 5px;
    }

    .account-info-card,
    .account-proof-history {
      display: grid;
      gap: 10px;
      margin-top: 14px;
    }

    .account-info-card {
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #050505;
      padding: 14px;
    }

    .account-email-form {
      display: grid;
      gap: 10px;
      margin-top: 0;
    }

    .account-email-form label {
      color: var(--muted);
      font-size: 11px;
      font-weight: 760;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .account-email-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
    }

    .account-email-row input {
      width: 100%;
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: 7px;
      padding: 9px 11px;
      background: #050505;
      color: var(--ink);
      font: inherit;
      font-size: 14px;
    }

    .account-proofs-table-wrap {
      max-height: 420px;
      overflow: auto;
      border: 1px solid var(--line);
      border-radius: 8px;
    }

    .account-proof-table {
      width: 100%;
      min-width: 1200px;
      border-collapse: collapse;
      table-layout: fixed;
      background: #050505;
    }

    .account-proof-table th,
    .account-proof-table td {
      padding: 10px 12px;
      border-bottom: 1px solid var(--line);
      text-align: left;
      vertical-align: top;
      font-size: 13px;
    }

    .account-proof-table th {
      color: var(--muted);
      font-size: 12px;
      text-transform: uppercase;
      background: #101010;
    }

    .account-proof-table thead th {
      position: sticky;
      top: 0;
      z-index: 2;
      border-bottom: 1px solid rgba(255,255,255,0.18);
      box-shadow: 0 1px 0 rgba(0,0,0,0.45);
    }

    .account-proof-table tr:last-child td {
      border-bottom: 0;
    }

    .account-proof-table th:nth-child(1),
    .account-proof-table td:nth-child(1) {
      width: 21%;
    }

    .account-proof-table th:nth-child(2),
    .account-proof-table td:nth-child(2) {
      width: 22%;
    }

    .account-proof-table th:nth-child(3),
    .account-proof-table td:nth-child(3) {
      width: 20%;
    }

    .account-proof-table th:nth-child(4),
    .account-proof-table td:nth-child(4) {
      width: 17%;
    }

    .account-proof-table th:nth-child(5),
    .account-proof-table td:nth-child(5) {
      width: 14%;
    }

    .account-proof-table th:nth-child(6),
    .account-proof-table td:nth-child(6) {
      width: 6%;
    }

    .account-proof-table .mono {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .account-proof-links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .account-proof-links a {
      color: var(--gold);
      font-weight: 760;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .account-proof-pager {
      justify-content: center;
    }

    .account-footer-actions {
      display: flex;
      gap: 10px;
      justify-content: flex-end;
      margin-top: 12px;
    }

    .account-footer-button {
      flex: 0 1 168px;
      min-width: 0;
      justify-content: center;
    }

    .pin-row {
      display: grid;
      grid-template-columns: minmax(160px, 1fr) 42px auto;
      gap: 8px;
      align-items: end;
    }

    .pin-row .button-with-icon {
      justify-self: start;
    }

    .pin-row input,
    .pin-display {
      width: 100%;
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: 7px;
      padding: 9px 11px;
      background: #050505;
      color: var(--ink);
      font: inherit;
      font-size: 14px;
      font-weight: 620;
    }

    .icon-button {
      width: 42px;
      min-height: 42px;
      display: inline-grid;
      place-items: center;
      padding: 0;
    }

    .icon-button svg {
      width: 17px;
      height: 17px;
      max-width: 17px;
      max-height: 17px;
      stroke: currentColor;
      stroke-width: 2;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .pin-message {
      min-height: 18px;
      margin: 0;
      color: var(--muted);
      font-size: 13px;
    }

    .pin-message.ok {
      color: var(--ok);
    }

    .pin-message.error {
      color: var(--miss);
    }

    .env-field {
      display: grid;
      gap: 6px;
    }

    .env-input-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 42px;
      gap: 8px;
    }

    .destination-toggle-row {
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
    }

    .destination-toggle-control {
      display: inline-grid;
      grid-template-columns: 46px 28px;
      gap: 8px;
      align-items: center;
    }

    .env-input-row input {
      width: 100%;
      min-width: 0;
      min-height: 42px;
      border: 1px solid var(--line);
      border-radius: 7px;
      padding: 9px 11px;
      background: #050505;
      color: var(--ink);
      font: inherit;
      font-size: 13px;
    }

    .env-input-row input:disabled,
    .env-field input:disabled {
      border-color: rgba(255, 86, 86, 0.55);
      background: #120707;
      color: var(--muted);
      cursor: not-allowed;
    }

    .env-secret-status {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.3;
    }

    .env-secret-status strong {
      color: var(--ok);
      font-weight: 750;
    }

    .env-secret-status.managed {
      color: var(--error);
      font-weight: 750;
    }

    .site-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px 18px;
      margin-top: 14px;
      padding: 12px 0 0;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .site-footer > div {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 14px;
      align-items: center;
    }

    .footer-legal {
      min-width: 0;
    }

    .footer-meta {
      color: var(--muted);
      font-size: 12px;
      justify-content: flex-start;
      text-align: left;
    }

    .footer-build-status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      white-space: nowrap;
    }

    .footer-separator {
      color: var(--line);
    }

    .site-footer a,
    .legal-page a {
      color: var(--accent-dark);
      text-decoration: none;
      text-underline-offset: 3px;
    }

    .site-footer a:hover,
    .legal-page a:hover {
      text-decoration: underline;
    }

    .footer-admin-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
    }

    .footer-admin-link:hover {
      text-decoration: none;
    }

    .footer-admin-icon {
      width: 14px;
      height: 14px;
      object-fit: contain;
      display: block;
    }

    body.auth-loading #accountNavLink,
    body.account-view-active #accountNavLink,
    body.account-view-active .footer-admin-separator,
    body.account-view-active .footer-admin-link {
      display: none;
    }

    .account-signed-out-card .admin-section-title {
      font-size: 18px;
    }

    .site-footer strong {
      color: var(--ink);
      font-weight: 700;
    }

    #buildVersion {
      padding: 2px 8px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--accent-dark);
      white-space: nowrap;
    }

    .legal-page {
      max-width: 820px;
      margin: 34px auto 0;
      padding: 28px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(11, 11, 11, 0.88);
      color: var(--ink);
      line-height: 1.65;
    }

    .legal-page h1,
    .legal-page h2 {
      margin: 0;
      line-height: 1.2;
      letter-spacing: 0;
    }

    .legal-page h1 {
      font-size: clamp(30px, 5vw, 52px);
    }

    .legal-page h2 {
      margin-top: 28px;
      font-size: 18px;
    }

    .legal-page p,
    .legal-page li {
      color: var(--muted);
    }

    .legal-page code {
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .legal-page ul {
      display: grid;
      gap: 10px;
      margin: 12px 0 0;
      padding-left: 22px;
    }

    .legal-page strong {
      color: var(--ink);
    }

    .legal-date {
      margin: 10px 0 24px;
      color: var(--accent-dark);
      font-size: 13px;
    }

    .pin-modal {
      position: fixed;
      inset: 0;
      display: none;
      place-items: center;
      padding: 20px;
      background: rgba(0,0,0,0.72);
      z-index: 20;
    }

    .pin-modal.active {
      display: grid;
    }

    .pin-modal.active::after {
      content: "";
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      height: 48vh;
      pointer-events: none;
      background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.28) 48%,
        rgba(0,0,0,0) 100%
      );
      z-index: 0;
    }

    .auth-modal {
      align-items: center;
    }

    .video-modal {
      position: fixed;
      inset: 0;
      display: none;
      place-items: center;
      padding: 20px;
      background: rgba(0,0,0,0.86);
      z-index: 30;
    }

    .video-modal.active {
      display: grid;
    }

    .video-dialog {
      width: min(420px, calc((100vh - 84px) * 9 / 16), calc(100vw - 32px));
      max-height: calc(100vh - 40px);
    }

    .video-dialog-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
    }

    .video-dialog-top h2 {
      margin: 0;
      font-size: 16px;
      line-height: 1.2;
    }

    .video-dialog-actions {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .video-icon-button {
      display: inline-grid;
      place-items: center;
      width: 38px;
      height: 38px;
      min-height: 0;
      border: 1px solid rgba(255,255,255,0.34);
      border-radius: 8px;
      padding: 0;
      background: rgba(0,0,0,0.34);
      color: var(--ink);
      box-shadow: none;
    }

    .video-icon-button:hover {
      border-color: rgba(255,255,255,0.56);
      background: rgba(255,255,255,0.08);
      color: var(--ink);
    }

    .video-icon-button svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .video-frame-shell {
      aspect-ratio: 9 / 16;
      width: 100%;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #000;
      box-shadow: 0 42px 160px rgba(0,0,0,0.7);
    }

    .video-frame-shell iframe {
      display: block;
      width: 100%;
      height: 100%;
      border: 0;
      background: #000;
    }

    @media (min-width: 761px) and (pointer: fine) {
      #toggleVideoFullscreenButton {
        display: none;
      }
    }

    @media (max-width: 760px), (pointer: coarse) {
      .video-modal.video-expanded {
        align-items: stretch;
        justify-items: stretch;
        padding: 0;
      }

      .video-modal.video-expanded .video-dialog {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        width: 100vw;
        max-width: none;
        height: 100dvh;
        max-height: none;
      }

      .video-modal.video-expanded .video-dialog-top {
        min-height: 48px;
        margin: 0;
        padding: 8px 10px;
        background: #000;
      }

      .video-modal.video-expanded .video-dialog-top h2 {
        font-size: 14px;
      }

      .video-modal.video-expanded .video-frame-shell {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
        box-shadow: none;
      }
    }

    .pin-pad {
      position: relative;
      z-index: 1;
      width: min(330px, 100%);
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #080808;
      padding: 18px;
      box-shadow: 0 190px 540px 230px rgba(0,0,0,0.78), 0 58px 200px 102px rgba(0,0,0,0.68);
    }

    .pin-pad h2 {
      margin: 0 0 12px;
      font-size: 18px;
    }

    .pin-display {
      margin-bottom: 12px;
      text-align: center;
      letter-spacing: 4px;
      font-size: 18px;
    }

    .keypad-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .keypad-grid button {
      min-height: 52px;
      font-size: 18px;
    }

    @media (max-width: 1040px) {
      main {
        grid-template-columns: 1fr;
      }

      header {
        align-items: flex-start;
        flex-direction: column;
      }

      .header-actions {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
      }

      .header-video-menu {
        order: 1;
      }

      .faq-nav-link {
        order: 2;
      }

      .quick-demo-button {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 7px 10px;
        background: rgba(255,255,255,0.05);
        color: var(--ink);
        font-size: 14px;
        font-weight: 760;
        box-shadow: none;
        white-space: nowrap;
      }

      a.quick-demo-button {
        text-decoration: none;
      }

      .quick-demo-button:hover,
      .quick-demo-button[aria-expanded="true"] {
        border-color: rgba(255,255,255,0.36);
        background: rgba(255,255,255,0.09);
        color: var(--ink);
      }

      .header-auth-actions {
        order: 3;
      }

      .header-video-actions {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        z-index: 15;
        display: none;
        width: max-content;
        min-width: 210px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 6px;
        background: #080808;
        box-shadow: 0 28px 90px rgba(0,0,0,0.62);
      }

      .header-video-menu.open .header-video-actions {
        display: flex;
      }

      .video-nav-link {
        min-height: 36px;
        justify-content: flex-start;
        gap: 8px;
        padding: 8px 9px;
        text-decoration: none;
      }

      .video-nav-link:hover {
        background: rgba(255,255,255,0.07);
      }

      .submit-row {
        grid-template-columns: 1fr;
        display: grid;
      }

      .pin-row {
        grid-template-columns: 1fr 42px;
      }

      .pin-row .button-with-icon {
        grid-column: 1 / -1;
        justify-self: start;
      }

      .auth-forms,
      .account-details,
      .account-actions-row {
        grid-template-columns: 1fr;
      }

      .account-email-row {
        grid-template-columns: 1fr;
      }

      .dropzone {
        min-height: 0;
        padding: 18px 16px;
      }

      .dropzone-content {
        gap: 8px;
      }

      .upload-actions {
        grid-template-columns: 1fr;
        justify-items: center;
      }

      .upload-actions .mobile-drop-or {
        display: block;
      }

      .dropzone-content > .drop-or,
      .drop-copy,
      .upload-icon {
        display: none;
      }

      .site-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
        border-top: 1px solid var(--line);
      }

      .footer-meta {
        display: flex;
        width: 100%;
        gap: 6px;
      }
    }

    @media (max-width: 640px) {
      .shell {
        width: min(100% - 24px, 1120px);
        padding: 20px 0 12px;
      }

      .panel {
        padding: 14px;
      }

      .mock-payment-panel .square-card-container {
        width: calc(100% + 24px);
        margin-right: -12px;
        margin-left: -12px;
      }

      .button-with-icon {
        width: auto;
        max-width: 100%;
      }

    }
