/* Global base styles */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=block');
@import url('/css/sakura-background-ae5187c509469bb25dc0be482df919fe.css');
@import url('/css/components/dropdowns-dedb7d79e4db3a1c49f7d8b61923b670.css');
@import url('/css/components/user-menu-a1d739a262d658e292db521714e425ba.css');
@import url('/css/components/scrollbar-ae2ededed4fee74263cbb5f1e62f131b.css');

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--font-size-base, 14px);
  font-weight: var(--font-weight-base, 400);
  line-height: var(--line-height-base, 20px);
  color: var(--color-on-surface);
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Shared light background for every page except the video-based home page. */
body:not(.page-home) {
  background: var(--color-background, #f4fafd) !important;
  background-attachment: fixed !important;
}

/* Module shells share the same calm canvas without changing their geometry. */
body:not(.page-home) :is(.app-main, .jlas-page, .page) {
  background: var(--color-background, #f4fafd) !important;
  background-attachment: fixed !important;
}

body:not(.page-home)::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: var(--z-background);
  background: linear-gradient(135deg, rgba(244, 250, 253, 0.96), rgba(238, 245, 247, 0.96), rgba(233, 221, 255, 0.60)) !important;
  pointer-events: none !important;
  will-change: background-position;
}


h1,
h2,
h3,
h4 {
  font-family: var(--font-headline);
  line-height: 1.25;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-container);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

select,
.select,
input.input,
textarea.textarea {
  background: var(--color-surface-lowest, #ffffff) !important;
  border: 1px solid var(--color-outline-variant, #cbc4d2) !important;
  color: var(--color-on-surface, #161d1f) !important;
  border-radius: var(--radius-md, 8px) !important;
}

select:focus,
.select:focus,
input.input:focus,
textarea.textarea:focus {
  background: var(--color-surface-lowest, #ffffff) !important;
  border-color: var(--color-primary, #4f378a) !important;
  box-shadow: var(--focus-ring) !important;
  outline: 2px solid transparent !important;
}

select option,
.select option {
  background-color: var(--color-surface-lowest, #ffffff) !important;
  color: var(--color-on-surface, #161d1f) !important;
  padding: 8px 12px;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  user-select: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-5);
  }
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-5);
  }
}
