:root {
  --sw-primary: #000105;
  --sw-primary-strong: #101a3a;
  --sw-primary-container: #101a3a;
  --sw-primary-fixed: #dce1ff;
  --sw-primary-fixed-dim: #bcc5ee;
  --sw-tertiary: #000000;
  --sw-tertiary-container: #0e172d;
  --sw-tertiary-fixed: #eef2ff;
  --sw-surface: #faf8ff;
  --sw-surface-low: #f2f3ff;
  --sw-surface-container: #eaedff;
  --sw-text: #131b2e;
  --sw-muted: #464554;
  --sw-outline: #c7c4d7;
  --sw-shadow: rgba(16, 26, 58, 0.16);
}

/* final-ux-sitewide-shell-v2 */

body:not([data-admin-theme="dark"]) {
  color: var(--sw-text);
  background:
    radial-gradient(circle at 10% 6%, rgba(16, 26, 58, 0.11), transparent 30%),
    radial-gradient(circle at 92% 14%, rgba(0, 0, 0, 0.08), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, var(--sw-surface-low) 52%, #faf8ff 100%) !important;
}

body:not([data-admin-theme="dark"]) ::selection {
  color: #000105;
  background: rgba(188, 197, 238, 0.55);
}

body:not([data-admin-theme="dark"]) .text-primary {
  color: var(--sw-primary) !important;
}

body:not([data-admin-theme="dark"]) .text-tertiary {
  color: var(--sw-tertiary) !important;
}

body:not([data-admin-theme="dark"]) .text-primary-container {
  color: var(--sw-primary-container) !important;
}

body:not([data-admin-theme="dark"]) .bg-primary,
body:not([data-admin-theme="dark"]) .primary-glass-button {
  background: linear-gradient(135deg, var(--sw-primary) 0%, var(--sw-tertiary) 100%) !important;
  box-shadow:
    0 18px 42px rgba(16, 26, 58, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.34) !important;
}

body:not([data-admin-theme="dark"]) .bg-primary-container {
  background: var(--sw-primary-container) !important;
}

body:not([data-admin-theme="dark"]) .bg-primary-fixed,
body:not([data-admin-theme="dark"]) .bg-primary-fixed\/20 {
  background-color: rgba(225, 224, 255, 0.55) !important;
}

body:not([data-admin-theme="dark"]) .bg-primary\/5 {
  background-color: rgba(16, 26, 58, 0.05) !important;
}

body:not([data-admin-theme="dark"]) .bg-primary\/10,
body:not([data-admin-theme="dark"]) .bg-primary-container\/10 {
  background-color: rgba(16, 26, 58, 0.1) !important;
}

body:not([data-admin-theme="dark"]) .bg-primary\/20,
body:not([data-admin-theme="dark"]) .bg-primary-container\/20 {
  background-color: rgba(16, 26, 58, 0.2) !important;
}

body:not([data-admin-theme="dark"]) .bg-tertiary,
body:not([data-admin-theme="dark"]) .bg-tertiary-container {
  background: linear-gradient(135deg, var(--sw-tertiary) 0%, var(--sw-primary-container) 100%) !important;
}

body:not([data-admin-theme="dark"]) .bg-tertiary\/10 {
  background-color: rgba(0, 0, 0, 0.08) !important;
}

body:not([data-admin-theme="dark"]) .border-primary,
body:not([data-admin-theme="dark"]) .focus\:border-primary:focus {
  border-color: var(--sw-primary) !important;
}

body:not([data-admin-theme="dark"]) .border-primary\/10,
body:not([data-admin-theme="dark"]) .border-primary-container\/10 {
  border-color: rgba(16, 26, 58, 0.1) !important;
}

body:not([data-admin-theme="dark"]) .border-primary\/15 {
  border-color: rgba(16, 26, 58, 0.15) !important;
}

body:not([data-admin-theme="dark"]) .border-primary\/20,
body:not([data-admin-theme="dark"]) .border-primary-container\/20 {
  border-color: rgba(16, 26, 58, 0.2) !important;
}

body:not([data-admin-theme="dark"]) .hover\:text-primary:hover {
  color: var(--sw-primary) !important;
}

body:not([data-admin-theme="dark"]) .hover\:border-primary:hover {
  border-color: var(--sw-primary) !important;
}

body:not([data-admin-theme="dark"]) .hover\:shadow-primary\/20:hover {
  box-shadow: 0 18px 42px rgba(16, 26, 58, 0.2) !important;
}

body:not([data-admin-theme="dark"]) .sunken-input:focus,
body:not([data-admin-theme="dark"]) .sunken-input:focus-within,
body:not([data-admin-theme="dark"]) input:focus,
body:not([data-admin-theme="dark"]) select:focus,
body:not([data-admin-theme="dark"]) textarea:focus {
  border-color: var(--sw-primary) !important;
  box-shadow:
    0 0 0 3px rgba(16, 26, 58, 0.12),
    inset 0 2px 4px rgba(16, 26, 58, 0.06) !important;
  outline: none !important;
}

body:not([data-admin-theme="dark"]) .glass-panel,
body:not([data-admin-theme="dark"]) .glass-card {
  background: rgba(255, 255, 255, 0.74) !important;
  border-color: rgba(255, 255, 255, 0.52) !important;
  box-shadow:
    0 24px 70px rgba(48, 52, 150, 0.11),
    inset 0 1px 1px rgba(255, 255, 255, 0.42) !important;
}

body:not([data-admin-theme="dark"]) .mesh-gradient {
  background:
    radial-gradient(at 0% 0%, rgba(16, 26, 58, 0.13) 0, transparent 50%),
    radial-gradient(at 100% 0%, rgba(0, 0, 0, 0.1) 0, transparent 50%),
    radial-gradient(at 100% 100%, rgba(188, 197, 238, 0.16) 0, transparent 50%),
    radial-gradient(at 0% 100%, rgba(16, 26, 58, 0.07) 0, transparent 50%) !important;
}

body:not([data-admin-theme="dark"]) a,
body:not([data-admin-theme="dark"]) button {
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

body:not([data-admin-theme="dark"]) button:hover,
body:not([data-admin-theme="dark"]) a[class*="rounded"]:hover {
  transform: translateY(-1px);
}

body:not([data-admin-theme="dark"]) button:active,
body:not([data-admin-theme="dark"]) a[class*="rounded"]:active {
  transform: translateY(0) scale(0.99);
}

body:not([data-admin-theme="dark"]) .glass-panel,
body:not([data-admin-theme="dark"]) .quick-action-card,
body:not([data-admin-theme="dark"]) .setup-tile,
body:not([data-admin-theme="dark"]) .portal-tool-button,
body:not([data-admin-theme="dark"]) .workspace-link,
body:not([data-admin-theme="dark"]) article,
body:not([data-admin-theme="dark"]) section {
  min-width: 0;
}

body:not([data-admin-theme="dark"]) .quick-action-card,
body:not([data-admin-theme="dark"]) .setup-tile,
body:not([data-admin-theme="dark"]) article p,
body:not([data-admin-theme="dark"]) article strong,
body:not([data-admin-theme="dark"]) article span,
body:not([data-admin-theme="dark"]) .glass-panel p,
body:not([data-admin-theme="dark"]) .glass-panel strong,
body:not([data-admin-theme="dark"]) .glass-panel h1,
body:not([data-admin-theme="dark"]) .glass-panel h2,
body:not([data-admin-theme="dark"]) .glass-panel h3 {
  overflow-wrap: anywhere;
}

body:not([data-admin-theme="dark"]) .portal-tool-button,
body:not([data-admin-theme="dark"]) .workspace-link {
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

body:not([data-admin-theme="dark"]) .material-symbols-outlined {
  letter-spacing: 0 !important;
}

html,
body:not([data-admin-theme="dark"]) {
  max-width: 100%;
  overflow-x: clip;
}

body:not([data-admin-theme="dark"]) [class*="tracking-"],
body:not([data-admin-theme="dark"]) [style*="letter-spacing"] {
  letter-spacing: 0 !important;
}

body:not([data-admin-theme="dark"]) header {
  max-width: 100%;
  border-color: rgba(255, 255, 255, 0.54) !important;
  background: rgba(250, 248, 255, 0.74) !important;
  backdrop-filter: blur(24px);
  box-shadow: 0 10px 34px rgba(16, 26, 58, 0.06);
}

body:not([data-admin-theme="dark"]) header,
body:not([data-admin-theme="dark"]) header > *,
body:not([data-admin-theme="dark"]) nav,
body:not([data-admin-theme="dark"]) main,
body:not([data-admin-theme="dark"]) footer {
  min-width: 0;
}

body:not([data-admin-theme="dark"]) header a,
body:not([data-admin-theme="dark"]) header button,
body:not([data-admin-theme="dark"]) nav a,
body:not([data-admin-theme="dark"]) nav button {
  min-width: 0;
  max-width: 100%;
  min-height: 2.5rem;
}

body:not([data-admin-theme="dark"]) header nav a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not([data-admin-theme="dark"]) a[class*="inline-flex"],
body:not([data-admin-theme="dark"]) button[class*="inline-flex"],
body:not([data-admin-theme="dark"]) a[class*="flex"],
body:not([data-admin-theme="dark"]) button[class*="flex"],
body:not([data-admin-theme="dark"]) .corridor-preset,
body:not([data-admin-theme="dark"]) .notification-filter,
body:not([data-admin-theme="dark"]) .top-link {
  align-items: center;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  white-space: normal;
}

body:not([data-admin-theme="dark"]) a[class*="rounded-full"],
body:not([data-admin-theme="dark"]) button[class*="rounded-full"],
body:not([data-admin-theme="dark"]) .portal-tool-button,
body:not([data-admin-theme="dark"]) .workspace-link,
body:not([data-admin-theme="dark"]) .top-link {
  border-radius: 999px !important;
}

body:not([data-admin-theme="dark"]) .glass-panel,
body:not([data-admin-theme="dark"]) .glass-card,
body:not([data-admin-theme="dark"]) article[class*="rounded"],
body:not([data-admin-theme="dark"]) section[class*="rounded"] {
  overflow: hidden;
}

body:not([data-admin-theme="dark"]) .glass-panel,
body:not([data-admin-theme="dark"]) .glass-card,
body:not([data-admin-theme="dark"]) .quick-action-card,
body:not([data-admin-theme="dark"]) .setup-tile,
body:not([data-admin-theme="dark"]) .corridor-preset,
body:not([data-admin-theme="dark"]) article[class*="bg-white"] {
  border-color: rgba(255, 255, 255, 0.56) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 46px rgba(30, 36, 94, 0.08);
}

body:not([data-admin-theme="dark"]) input,
body:not([data-admin-theme="dark"]) select,
body:not([data-admin-theme="dark"]) textarea {
  max-width: 100%;
  border-radius: 1rem;
}

body:not([data-admin-theme="dark"]) label,
body:not([data-admin-theme="dark"]) .grid > *,
body:not([data-admin-theme="dark"]) .flex > *,
body:not([data-admin-theme="dark"]) [class*="grid-cols-"] > * {
  min-width: 0;
}

body:not([data-admin-theme="dark"]) .swadakta-auth-cta {
  white-space: nowrap;
}

body:not([data-admin-theme="dark"]).swadakta-session-signed-in .swadakta-auth-cta {
  border: 1px solid rgba(199, 196, 215, 0.58) !important;
  background: rgba(255, 255, 255, 0.76) !important;
  color: var(--sw-primary-container) !important;
}

@media (max-width: 640px) {
  body:not([data-admin-theme="dark"]) [class*="px-margin-desktop"],
  body:not([data-admin-theme="dark"]) .px-margin-desktop,
  body:not([data-admin-theme="dark"]) [class*="md:px-margin-desktop"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  body:not([data-admin-theme="dark"]) header {
    gap: 0.75rem !important;
    min-height: 4.5rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  body:not([data-admin-theme="dark"]) header nav {
    display: none !important;
  }

  body:not([data-admin-theme="dark"]) header a[href*="portal"],
  body:not([data-admin-theme="dark"]) header a[href*="/portal"],
  body:not([data-admin-theme="dark"]) header a[href*="login"] {
    flex: 0 1 auto;
    max-width: 52vw;
  }

  body:not([data-admin-theme="dark"]) main {
    max-width: 100vw;
  }

  body:not([data-admin-theme="dark"]) a[class*="px-8"],
  body:not([data-admin-theme="dark"]) button[class*="px-8"],
  body:not([data-admin-theme="dark"]) a[class*="px-6"],
  body:not([data-admin-theme="dark"]) button[class*="px-6"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  body:not([data-admin-theme="dark"]) .portal-tool-button,
  body:not([data-admin-theme="dark"]) .workspace-link {
    white-space: normal;
  }

  body:not([data-admin-theme="dark"]) .glass-panel,
  body:not([data-admin-theme="dark"]) .glass-card {
    border-radius: 1.35rem !important;
  }
}
