
    :root {
      color-scheme: light;
      --brand: #0750a2;
      --brand-deep: #073b83;
      --ink: #12233d;
      --muted: #64748b;
      --line: #e2e8f0;
      --surface: #ffffff;
      --page: #f4f7fb;
      --shadow-soft: 0 12px 32px rgb(15 23 42 / 7%);
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 1rem;
      -webkit-text-size-adjust: 100%;
    }

    body {
      min-width: 320px;
      margin: 0;
      overflow-x: hidden;
      background: var(--page);
      color: var(--ink);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.55;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
    }

    button {
      touch-action: manipulation;
      transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    button:not(:disabled):hover {
      transform: translateY(-1px);
    }

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

    :focus-visible {
      outline: 3px solid rgb(59 130 246 / 55%);
      outline-offset: 2px;
    }

    input,
    select,
    textarea {
      min-width: 0;
      max-width: 100%;
      border-color: #cbd5e1;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: #3b82f6;
      outline: 3px solid rgb(59 130 246 / 15%);
      outline-offset: 0;
    }

    textarea {
      resize: vertical;
    }

    img,
    svg {
      max-width: 100%;
    }

    header {
      position: relative;
      z-index: 20;
      background: linear-gradient(115deg, #073b83, #0750a2) !important;
      box-shadow: 0 4px 16px rgb(7 59 131 / 18%);
    }

    header > div {
      width: min(100%, 84rem);
      padding-inline: clamp(1rem, 3vw, 2rem);
    }

    header > div > div:first-child {
      min-width: 0;
    }

    header > div > div:first-child p {
      color: #dbeafe;
    }

    header > div > div:nth-child(2) {
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    #currencySwitch,
    #accountButton,
    #adminButton {
      min-height: 2.75rem;
    }

    #userMenuButton,
    #userAvatarImage,
    #userAvatarFallback {
      min-width: 2.75rem;
      min-height: 2.75rem;
    }

    #userMenuDropdown {
      max-width: calc(100vw - 2rem);
    }

    body > header + section {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      background:
        radial-gradient(ellipse at 85% 0%, rgb(96 165 250 / 28%), transparent 36%),
        linear-gradient(125deg, #073b83 0%, #0750a2 55%, #2524a6 100%) !important;
      padding-block: clamp(3rem, 7vw, 5.5rem);
    }

    body > header + section > div {
      width: min(100%, 58rem);
    }

    body > header + section h1 {
      max-width: 15ch;
      margin-inline: auto;
      font-size: clamp(2rem, 5vw, 3.75rem);
      line-height: 1.08;
      letter-spacing: -0.035em;
      text-wrap: balance;
    }

    body > header + section > div > p {
      max-width: 46rem;
      margin-inline: auto;
      line-height: 1.7;
    }

    body > header + section form {
      max-width: 48rem;
      margin-inline: auto;
      border: 1px solid rgb(255 255 255 / 55%);
      box-shadow: 0 18px 48px rgb(2 6 23 / 22%);
    }

    body > header + section form input {
      min-height: 3.25rem;
    }

    body > header + section form button {
      min-height: 3.25rem;
      white-space: nowrap;
    }

    body > header + section form + div > div {
      min-height: 7rem;
      border-color: rgb(255 255 255 / 18%);
      background: rgb(255 255 255 / 9%);
      backdrop-filter: blur(10px);
    }

    #customerDashboardContainer,
    #customerProfileContainer {
      width: min(100%, 84rem);
      padding: clamp(1rem, 3vw, 2rem);
    }

    #customerDashboardContainer > div,
    #customerProfileContainer > div {
      padding: clamp(1rem, 3vw, 2rem);
      border: 1px solid var(--line);
      border-radius: 1.5rem;
      background: var(--surface);
      box-shadow: var(--shadow-soft);
    }

    #customerDashboardContainer h3,
    #customerProfileContainer h2 {
      letter-spacing: -0.02em;
    }

    #customerDashboardStats > button {
      min-width: 0;
    }

    #customerDashboardStats > button span {
      overflow-wrap: anywhere;
    }

    #customerDomainList > article,
    #customerOrdersList > article,
    #customerSupportTickets > article,
    #customerDashboardOrders > button,
    #customerDashboardTickets > button,
    #customerRequestsList > article {
      min-width: 0;
      border-color: var(--line);
      border-radius: 1rem;
      background-color: #fff;
      box-shadow: 0 4px 14px rgb(15 23 42 / 4%);
    }

    #customerDomainList > article,
    #customerOrdersList > article {
      overflow-wrap: anywhere;
    }

    #customerDomainDetailContainer article {
      border-color: var(--line);
      border-radius: 1.25rem;
      box-shadow: 0 6px 20px rgb(15 23 42 / 5%);
    }

    #customerProfileContainer section {
      border-color: var(--line);
      border-radius: 1.25rem;
    }

    #searchResultsModal,
    #adminModal,
    #authModal,
    #mfaLoginModal {
      padding: clamp(0.75rem, 3vw, 1.5rem);
      padding-bottom: max(clamp(0.75rem, 3vw, 1.5rem), env(safe-area-inset-bottom));
      overscroll-behavior: contain;
      backdrop-filter: blur(5px);
    }

    #searchResultsModal > div,
    #adminModal > div,
    #authModal > div,
    #mfaLoginModal > div {
      min-width: 0;
      border: 1px solid rgb(226 232 240 / 90%);
      box-shadow: 0 24px 80px rgb(2 6 23 / 28%);
      overscroll-behavior: contain;
    }

    #searchResultsModal > div {
      width: min(100%, 80rem);
      max-height: calc(100vh - 2rem);
      max-height: calc(100dvh - 2rem);
      padding: clamp(1rem, 3vw, 1.75rem);
    }

    #searchResultsModal #resultsContainer > div {
      min-width: 0;
      overflow-wrap: anywhere;
    }

    #searchResultsModal aside {
      min-width: 0;
    }

    #adminModal > div {
      width: min(100%, 76rem);
      max-height: calc(100vh - 2rem);
      max-height: calc(100dvh - 2rem);
      padding: clamp(1rem, 3vw, 1.75rem);
    }

    #adminContent > div,
    #adminContent section {
      min-width: 0;
    }

    #adminOrdersList > div,
    #adminRequestsList > div,
    #adminSupportTickets > article {
      min-width: 0;
      overflow-wrap: anywhere;
    }

    #authModal > div,
    #mfaLoginModal > div {
      width: min(100%, 30rem);
      max-height: calc(100vh - 2rem);
      max-height: calc(100dvh - 2rem);
      overflow-y: auto;
      padding: clamp(1rem, 4vw, 1.75rem);
    }

    @media (min-width: 1440px) {
      body > header + section {
        padding-block: 6rem;
      }

      #customerDashboardContainer > div,
      #customerProfileContainer > div {
        padding: 2.25rem;
      }
    }

    @media (max-width: 640px) {
      body {
        font-size: 0.9375rem;
      }

      header > div {
        align-items: stretch;
        flex-direction: column;
        gap: 0.75rem;
        padding-block: 0.85rem;
      }

      header > div > div:first-child {
        justify-content: center;
      }

      header > div > div:nth-child(2) {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        justify-content: stretch;
        gap: 0.5rem;
      }

      header > div > div:nth-child(2) > div:first-child {
        grid-column: 1 / -1;
        justify-self: stretch;
        text-align: center;
      }

      #currencySwitch {
        grid-column: 1 / -1;
        width: 100%;
      }

      #accountButton {
        grid-column: 1;
        width: 100%;
      }

      #userMenu {
        grid-column: 1;
        justify-self: start;
        max-width: 100%;
      }

      #adminButton {
        grid-column: 2;
        justify-self: end;
        max-width: 100%;
      }

      #userMenuDropdown {
        position: fixed;
        right: auto;
        width: min(13.5rem, calc(100vw - 2rem));
        max-height: calc(100dvh - 2rem);
        overflow-y: auto;
      }

      body > header + section {
        padding: 2.75rem 1rem;
      }

      body > header + section h1 {
        font-size: clamp(2rem, 9vw, 3rem);
      }

      body > header + section form {
        padding: 0.5rem;
      }

      body > header + section form button {
        width: 100%;
      }

      body > header + section form + div > div {
        min-height: auto;
      }

      #customerDashboardContainer,
      #customerProfileContainer {
        padding: 1rem;
      }

      #customerDashboardContainer > div,
      #customerProfileContainer > div {
        padding: 1rem;
        border-radius: 1.125rem;
      }

      #customerDashboardContainer > div > div:first-child,
      #customerProfileContainer > div > div:first-child {
        align-items: flex-start;
      }

      #customerDashboardContainer > div > div:first-child > div:last-child {
        flex-wrap: wrap;
        gap: 0.75rem;
      }

      #customerDashboardStats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      #customerDomainList > article,
      #customerOrdersList > article {
        align-items: stretch;
        gap: 0.75rem;
      }

      #customerDomainList > article > div:last-child,
      #customerOrdersList > article > div:last-child {
        width: 100%;
      }

      #customerDomainList button,
      #customerOrdersList button,
      #customerDashboardContainer section button,
      #customerProfileContainer section button {
        min-height: 2.75rem;
      }

      #searchResultsModal,
      #adminModal {
        align-items: flex-end;
        padding: 0;
      }

      #searchResultsModal > div,
      #adminModal > div {
        width: 100%;
        max-height: 94vh;
        max-height: 94dvh;
        border-radius: 1.25rem 1.25rem 0 0;
        padding: 1rem;
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
      }

      #searchResultsModal > div > div:first-child,
      #adminModal > div > div:first-child {
        position: sticky;
        top: -1rem;
        z-index: 2;
        margin: -1rem -1rem 1rem;
        padding: 1rem;
        background: #fff;
      }

      #searchResultsModal > div > div:first-child h2 {
        font-size: 1.125rem;
      }

      #searchResultsModal .grid.grid-cols-1.lg\\:grid-cols-3 {
        gap: 1rem;
      }

      #searchResultsModal aside {
        padding: 1rem;
      }

      #adminModal > div {
        border-bottom: 0;
      }

      #adminModal #paymentMethodsEditor {
        grid-template-columns: minmax(0, 1fr);
      }

      #authModal,
      #mfaLoginModal {
        padding: 1rem;
      }

      #authModal > div,
      #mfaLoginModal > div {
        max-height: calc(100vh - 2rem);
        max-height: calc(100dvh - 2rem);
        border-radius: 1.25rem;
      }
    }

    @media (max-width: 380px) {
      header > div > div:first-child svg {
        width: 2.5rem;
        height: 2.5rem;
        flex: 0 0 auto;
      }

      #brandTitle {
        font-size: 1.25rem;
      }

      #customerDashboardStats {
        grid-template-columns: minmax(0, 1fr);
      }

      #customerDashboardContainer > div > div:first-child > div:last-child {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
      }

      #searchResultsModal > div,
      #adminModal > div {
        padding-inline: 0.85rem;
      }

      #searchResultsModal > div > div:first-child,
      #adminModal > div > div:first-child {
        margin-inline: -0.85rem;
      }
    }

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