:root {
  --ink: #27313a;
  --muted: #65717c;
  --cream: #fff8e7;
  --paper: #ffffff;
  --coral: #ff6a00;
  --sun: #ffe278;
  --sky: #8ad7f8;
  --leaf: #93e6ad;
  --rose: #ffd7dd;
  --blue: #3776a8;
  --wood: #a37a58;
  --line: rgba(39, 49, 58, 0.12);
  --shadow: 0 22px 54px rgba(116, 81, 42, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-main {
  0%,
  100% {
    transform: rotate(2deg) translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: rotate(0.4deg) translate3d(10px, -20px, 0) scale(1.025);
  }
}

@keyframes float-top {
  0%,
  100% {
    transform: rotate(7deg) translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: rotate(9deg) translate3d(-12px, 18px, 0) scale(1.04);
  }
}

@keyframes float-bottom {
  0%,
  100% {
    transform: rotate(-6deg) translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: rotate(-8deg) translate3d(12px, -18px, 0) scale(1.035);
  }
}

@keyframes note-breathe {
  0%,
  100% {
    transform: rotate(3deg) translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: rotate(0deg) translate3d(-6px, -14px, 0) scale(1.035);
  }
}

@keyframes badge-breathe {
  0%,
  100% {
    transform: rotate(-10deg) scale(1);
  }

  50% {
    transform: rotate(-4deg) scale(1.09);
  }
}

@keyframes chat-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 18px 36px rgba(116, 81, 42, 0.18);
  }

  50% {
    transform: translateY(-7px) scale(1.06);
    box-shadow: 0 26px 46px rgba(55, 118, 168, 0.28);
  }
}

@keyframes pin-pop {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.35);
  }
}

@keyframes button-hover-pop {
  0% {
    transform: translateY(0) scale(1);
  }

  45% {
    transform: translateY(-8px) scale(1.06);
  }

  72% {
    transform: translateY(-3px) scale(1.025);
  }

  100% {
    transform: translateY(-5px) scale(1.035);
  }
}

@keyframes tile-hover-pop {
  0% {
    transform: translateY(0) rotate(var(--hover-rotate, 0deg)) scale(1);
  }

  48% {
    transform: translateY(-16px) rotate(calc(var(--hover-rotate, 0deg) * -1)) scale(1.045);
  }

  100% {
    transform: translateY(-10px) rotate(0deg) scale(1.03);
  }
}

@keyframes card-hover-pop {
  0% {
    transform: translateY(0) rotate(var(--hover-rotate, 0deg)) scale(1);
  }

  50% {
    transform: translateY(-14px) rotate(calc(var(--hover-rotate, 0deg) * -0.5)) scale(1.04);
  }

  100% {
    transform: translateY(-10px) rotate(0deg) scale(1.025);
  }
}

@keyframes postit-hover-wiggle {
  0% {
    transform: translateY(0) rotate(var(--hover-rotate, 0deg)) scale(1);
  }

  28% {
    transform: translateY(-16px) rotate(-4deg) scale(1.09);
  }

  58% {
    transform: translateY(-12px) rotate(4deg) scale(1.08);
  }

  100% {
    transform: translateY(-14px) rotate(0deg) scale(1.09);
  }
}

@keyframes photo-main-hover {
  0%,
  100% {
    transform: rotate(2deg) translate3d(0, -8px, 0) scale(1.035);
  }

  50% {
    transform: rotate(-1deg) translate3d(14px, -28px, 0) scale(1.06);
  }
}

@keyframes photo-top-hover {
  0%,
  100% {
    transform: rotate(7deg) translate3d(0, 0, 0) scale(1.05);
  }

  50% {
    transform: rotate(12deg) translate3d(-16px, 20px, 0) scale(1.08);
  }
}

@keyframes photo-bottom-hover {
  0%,
  100% {
    transform: rotate(-6deg) translate3d(0, -6px, 0) scale(1.05);
  }

  50% {
    transform: rotate(-11deg) translate3d(16px, -24px, 0) scale(1.08);
  }
}

@keyframes chat-hover-pop {
  0%,
  100% {
    transform: translateY(-8px) scale(1.08);
  }

  50% {
    transform: translateY(-15px) scale(1.14);
  }
}

body {
  margin: 0;
  top: 0 !important;
  color: var(--ink);
  background:
    repeating-linear-gradient(90deg, rgba(255, 106, 0, 0.035) 0 2px, transparent 2px 86px),
    repeating-linear-gradient(0deg, rgba(55, 118, 168, 0.028) 0 2px, transparent 2px 86px),
    linear-gradient(180deg, #fffdf4 0%, #fff8e7 45%, #f3fbff 100%),
    var(--cream);
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.6;
}

body > .skiptranslate,
body > iframe.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
}

html.translated-ltr body,
html.translated-rtl body {
  top: 0 !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--ink);
  background: rgba(253, 252, 240, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(116, 81, 42, 0.08);
  transition: min-height 220ms ease, padding 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(255, 253, 244, 0.96);
  box-shadow: 0 12px 30px rgba(116, 81, 42, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(116px, 11vw, 158px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
  background: #ffffff;
  border-radius: var(--radius);
  transition: max-height 220ms ease, width 220ms ease;
}

.site-header.is-scrolled .brand-logo {
  max-height: 40px;
}

.saas-public-header {
  position: sticky;
}

.text-brand {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid rgba(35, 46, 56, 0.08);
  color: var(--ink);
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(116, 81, 42, 0.08);
}

.text-brand span {
  display: block;
  max-width: min(46vw, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 900;
}

.site-nav a {
  padding: 8px 0;
  transition: color 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  transform: translateY(-3px) scale(1.04);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--coral);
}

.language-tools {
  position: relative;
  display: inline-grid;
  justify-items: end;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(39, 49, 58, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(116, 81, 42, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switch a,
.language-plus {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
  cursor: pointer;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
}

.language-switch a:hover,
.language-plus:hover {
  transform: translateY(-2px);
}

.language-switch a[aria-current="true"] {
  color: #ffffff;
  background: var(--coral);
}

.language-plus {
  width: 34px;
  min-width: 34px;
  padding: 0;
  color: #ffffff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 1.12rem;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(39, 49, 58, 0.16);
}

.language-tools.is-open .language-plus {
  background: var(--coral);
  rotate: 45deg;
}

.auto-translate-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(360px, calc(100vw - 36px));
  max-height: min(72vh, 560px);
  overflow: auto;
  padding: 14px;
  background: rgba(255, 253, 244, 0.98);
  border: 2px solid rgba(39, 49, 58, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(116, 81, 42, 0.2);
  opacity: 1;
  scale: 1;
  transform-origin: top right;
  transition: opacity 160ms ease, scale 160ms ease;
}

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

.auto-translate-panel p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.auto-language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.auto-language-grid button {
  min-height: 40px;
  padding: 9px 10px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(39, 49, 58, 0.1);
  border-radius: 12px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.auto-language-grid button:hover {
  color: #ffffff;
  background: var(--coral);
  transform: translateY(-3px) scale(1.02);
}

.google-translate-slot {
  min-height: 40px;
  padding-top: 10px;
  border-top: 1px solid rgba(39, 49, 58, 0.1);
}

.google-translate-slot select {
  max-width: 100%;
}

.nav-cta {
  padding: 10px 16px !important;
  color: #ffffff !important;
  background: var(--coral);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(255, 106, 0, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-cta:hover {
  animation: button-hover-pop 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 14px 26px rgba(255, 106, 0, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

h1,
h2,
h3,
p,
a,
span {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  color: var(--coral);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
}

h3 {
  font-size: 1.35rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  min-height: 100vh;
  padding: 132px clamp(18px, 6vw, 74px) 72px;
}

.hero-playful {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.home-hero {
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  left: clamp(18px, 6vw, 74px);
  right: clamp(18px, 6vw, 74px);
  bottom: 36px;
  height: 3px;
  background-image: linear-gradient(90deg, rgba(255, 106, 0, 0.24) 50%, transparent 50%);
  background-size: 18px 3px;
  opacity: 0.8;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: -4vw;
  right: -4vw;
  bottom: -1px;
  height: 44px;
  background: var(--sun);
  clip-path: polygon(0 40%, 8% 62%, 18% 44%, 29% 66%, 43% 45%, 54% 68%, 68% 46%, 81% 64%, 92% 42%, 100% 58%, 100% 100%, 0 100%);
  opacity: 0.55;
}

.hero-copy-block {
  max-width: 720px;
}

.motion-ready .hero-copy-block > * {
  opacity: 0;
  animation: rise-in 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.motion-ready .hero-copy-block > *:nth-child(1) {
  animation-delay: 90ms;
}

.motion-ready .hero-copy-block > *:nth-child(2) {
  animation-delay: 170ms;
}

.motion-ready .hero-copy-block > *:nth-child(3) {
  animation-delay: 250ms;
}

.motion-ready .hero-copy-block > *:nth-child(4) {
  animation-delay: 330ms;
}

.motion-ready .hero-copy-block > *:nth-child(5) {
  animation-delay: 410ms;
}

.hero-copy-block h1 {
  max-width: 11ch;
}

.hero-copy-block p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  animation: button-hover-pop 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 18px 34px rgba(116, 81, 42, 0.16);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button.primary {
  color: #ffffff;
  background: var(--coral);
  box-shadow: 0 14px 26px rgba(255, 106, 0, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: var(--leaf);
  box-shadow: 0 14px 26px rgba(134, 239, 172, 0.28);
}

.button.danger {
  color: #ffffff;
  background: #e5484d;
  box-shadow: 0 14px 26px rgba(229, 72, 77, 0.24);
}

.button.quiet,
.button.outline {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.mini-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 12px;
  width: min(660px, 100%);
  margin-top: 52px;
}

.mini-notes span {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.82);
  border: 2px dashed rgba(39, 49, 58, 0.18);
  border-radius: 42% 58% 48% 52%;
  box-shadow: 0 12px 30px rgba(116, 81, 42, 0.08);
  transform: rotate(-1deg);
}

.mini-notes span:nth-child(2n) {
  transform: rotate(1deg);
}

.hero-collage {
  position: relative;
  min-height: 640px;
  transform: translate3d(0, var(--hero-shift, 0), 0);
  transition: transform 80ms linear;
}

.photo-card,
.wood-frame {
  padding: 10px;
  background: #ffffff;
  border: 12px solid var(--wood);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.photo-card {
  position: absolute;
  margin: 0;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-main {
  z-index: 2;
  left: 6%;
  right: 8%;
  top: 62px;
  height: 390px;
  transform: rotate(2deg);
  animation: float-main 6.5s ease-in-out infinite;
}

.photo-main:hover {
  animation: photo-main-hover 920ms ease-in-out infinite;
}

.photo-top {
  z-index: 3;
  top: 0;
  right: 0;
  width: 45%;
  height: 190px;
  border-color: var(--leaf);
  transform: rotate(7deg);
  animation: float-top 7s ease-in-out infinite;
}

.photo-top:hover {
  animation: photo-top-hover 860ms ease-in-out infinite;
}

.photo-bottom {
  z-index: 3;
  left: 0;
  bottom: 44px;
  width: 48%;
  height: 210px;
  border-color: var(--sky);
  transform: rotate(-6deg);
  animation: float-bottom 7.5s ease-in-out infinite;
}

.photo-bottom:hover {
  animation: photo-bottom-hover 900ms ease-in-out infinite;
}

.parent-note {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 78px;
  width: min(270px, 56%);
  padding: 22px;
  background: #fff5a8;
  border: 2px solid rgba(39, 49, 58, 0.1);
  box-shadow: 0 18px 34px rgba(116, 81, 42, 0.12);
  transform: rotate(3deg);
  animation: note-breathe 5.8s ease-in-out infinite;
}

.parent-note::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 74px;
  height: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(39, 49, 58, 0.08);
  transform: translateX(-50%) rotate(-2deg);
}

.parent-note strong,
.parent-note span {
  display: block;
}

.parent-note strong {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.16;
}

.parent-note span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.round-badge {
  position: absolute;
  z-index: 5;
  top: 42px;
  left: -32px;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--ink);
  background: #ffffff;
  border: 4px dashed var(--sky);
  border-radius: 50%;
  box-shadow: var(--shadow);
  transform: rotate(-10deg);
  animation: badge-breathe 4.8s ease-in-out infinite;
}

.bio-badge {
  top: 174px;
  left: auto;
  right: -20px;
  border-color: var(--leaf);
  transform: rotate(8deg);
  animation-delay: 420ms;
}

.round-badge strong {
  font-size: 1.72rem;
  line-height: 1;
  text-align: center;
}

.round-badge span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 6vw, 74px) clamp(42px, 7vw, 86px);
  background: var(--sun);
}

.action-tile {
  min-height: 170px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(22px, 4vw, 44px);
  color: var(--ink);
  border: 2px solid rgba(39, 49, 58, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 16px 30px rgba(116, 81, 42, 0.1);
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.action-tile:hover {
  filter: brightness(1.06);
  animation: tile-hover-pop 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 30px 48px rgba(116, 81, 42, 0.2);
}

.action-tile:nth-child(1) {
  --hover-rotate: -1deg;
  transform: rotate(-1deg);
}

.action-tile:nth-child(2) {
  --hover-rotate: 1deg;
  transform: rotate(1deg);
}

.action-tile:nth-child(3) {
  --hover-rotate: -0.5deg;
  transform: rotate(-0.5deg);
}

.action-tile span,
.action-tile small {
  font-weight: 900;
  opacity: 0.72;
}

.action-tile strong {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.14;
}

.action-apply {
  background: var(--sun);
}

.action-login {
  background: var(--leaf);
}

.action-chat {
  background: var(--sky);
}

.kindergarten-board {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(72px, 9vw, 124px) clamp(18px, 6vw, 74px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.46)),
    #fffaf0;
}

.board-intro {
  max-width: 560px;
}

.board-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.12rem;
}

.board-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.board-note {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border: 2px solid rgba(39, 49, 58, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 34px rgba(116, 81, 42, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.board-note:hover {
  animation: card-hover-pop 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 32px 54px rgba(116, 81, 42, 0.2);
}

.board-note::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--coral);
  border: 2px solid rgba(39, 49, 58, 0.12);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: pin-pop 3.8s ease-in-out infinite;
}

.board-note:nth-child(1),
.board-note:nth-child(4) {
  --hover-rotate: -1.5deg;
  transform: rotate(-1.5deg);
}

.board-note:nth-child(2),
.board-note:nth-child(3) {
  --hover-rotate: 1.2deg;
  transform: rotate(1.2deg);
}

.board-note span {
  display: inline-block;
  margin-bottom: 22px;
  color: rgba(39, 49, 58, 0.74);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-note p {
  color: var(--muted);
}

.note-sun {
  background: #fff3a8;
}

.note-leaf {
  background: #dff8c8;
}

.note-sky {
  background: #d9f1ff;
}

.note-rose {
  background: #ffe0e5;
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 6vw, 74px);
}

.section-light {
  background: rgba(255, 255, 255, 0.44);
}

.section-heading {
  max-width: 850px;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.info-card {
  min-height: 240px;
  padding: 28px;
  background: var(--paper);
  border-top: 7px solid var(--coral);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(116, 81, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.info-card:hover {
  animation: card-hover-pop 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 30px 54px rgba(116, 81, 42, 0.18);
}

.warm-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 248, 231, 0.66)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 106, 0, 0.035) 42px 44px);
}

.warm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.warm-card {
  min-height: 270px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 2px dashed rgba(39, 49, 58, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(116, 81, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.warm-card:hover {
  animation: card-hover-pop 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
  border-color: rgba(255, 106, 0, 0.22);
  box-shadow: 0 30px 52px rgba(116, 81, 42, 0.18);
}

.warm-card:nth-child(2) {
  --hover-rotate: 0.6deg;
  transform: rotate(0.6deg);
}

.warm-card:nth-child(3) {
  --hover-rotate: -0.6deg;
  transform: rotate(-0.6deg);
}

.warm-card:nth-child(2):hover,
.warm-card:nth-child(3):hover {
  animation: card-hover-pop 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.warm-symbol {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  color: var(--ink);
  background: var(--sun);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.warm-card:nth-child(2) .warm-symbol {
  background: var(--leaf);
}

.warm-card:nth-child(3) .warm-symbol {
  background: var(--sky);
}

.warm-card:nth-child(4) .warm-symbol {
  background: var(--rose);
}

.warm-card p {
  color: var(--muted);
}

.day-story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(72px, 9vw, 124px) clamp(18px, 6vw, 74px);
  background: rgba(255, 255, 255, 0.64);
}

.day-story-image {
  padding: 10px;
  background: #ffffff;
  border: 10px solid var(--wood);
  border-radius: 4px;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

.day-story-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.day-story-text {
  max-width: 720px;
}

.day-story-text p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.12rem;
}

.day-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.day-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(116, 81, 42, 0.06);
  font-weight: 800;
}

.day-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 11px;
  height: 11px;
  background: var(--coral);
  border-radius: 50%;
  transform: translateY(-50%);
}

.info-card:nth-child(2) {
  border-color: var(--leaf);
}

.info-card:nth-child(3) {
  border-color: var(--sky);
}

.concept-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.info-card p,
.text-block p,
.legal-shell p {
  color: var(--muted);
}

.postit-section {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 6vw, 74px);
  background:
    linear-gradient(180deg, rgba(255, 106, 0, 0.92), rgba(255, 127, 48, 0.92)),
    var(--coral);
}

.postit-section h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 48px;
}

.postit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 28px);
  max-width: 1080px;
  margin: 0 auto;
}

.post-it {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 18px 30px rgba(39, 49, 58, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.post-it:hover {
  animation: postit-hover-wiggle 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 30px 48px rgba(39, 49, 58, 0.22);
}

.post-it::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--coral);
  border: 2px solid rgba(39, 49, 58, 0.14);
  border-radius: 50%;
  transform: translateX(-50%);
}

.note-yellow {
  --hover-rotate: -2deg;
  background: #fef9c3;
  transform: rotate(-2deg);
}

.note-blue {
  --hover-rotate: 1deg;
  background: #e0f2fe;
  transform: rotate(1deg);
}

.note-green {
  --hover-rotate: -1deg;
  background: #dcfce7;
  transform: rotate(-1deg);
}

.note-rose {
  --hover-rotate: 2deg;
  background: #fee2e2;
  transform: rotate(2deg);
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(55, 118, 168, 0.96), rgba(71, 150, 154, 0.94)),
    var(--blue);
  color: #ffffff;
}

.application-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 126px 0 86px;
}

.application-hero {
  max-width: 860px;
  margin-bottom: 28px;
}

.application-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.18rem;
}

.application-card {
  padding: clamp(18px, 4vw, 34px);
  background: rgba(255, 253, 244, 0.9);
  border: 2px solid rgba(39, 49, 58, 0.08);
  border-radius: 16px;
  box-shadow: 0 22px 54px rgba(116, 81, 42, 0.13);
}

.job-public-grid,
.job-position-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.job-public-card,
.job-position-admin-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 245, 168, 0.86), rgba(221, 255, 235, 0.86)),
    #ffffff;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-left: 8px solid var(--orange);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(116, 81, 42, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.job-public-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(116, 81, 42, 0.16);
}

.job-public-card strong,
.job-position-admin-card h3 {
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.job-public-card p,
.job-position-admin-card p,
.job-selected-position p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.job-public-card .button {
  width: fit-content;
}

.job-position-admin-card {
  align-content: space-between;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 229, 0.92)),
    #ffffff;
}

.job-position-admin-card.is-inactive {
  opacity: 0.62;
}

.job-position-form {
  margin-bottom: 18px;
}

.job-public-url-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 2px dashed rgba(255, 106, 0, 0.28);
  border-radius: 12px;
}

.job-public-url-box strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.job-public-url-box textarea {
  width: 100%;
  min-height: 86px;
  margin-top: 8px;
  padding: 12px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--ink);
  font: 800 0.88rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.job-selected-position {
  padding: 18px;
  background: rgba(143, 228, 170, 0.18);
  border: 2px solid rgba(143, 228, 170, 0.5);
  border-radius: 12px;
}

.job-selected-position h2 {
  margin: 0 0 8px;
  color: var(--orange);
}

.application-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 28px;
}

.application-step-indicator {
  min-height: 76px;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px;
  color: var(--muted);
  background: #ffffff;
  border: 2px solid rgba(39, 49, 58, 0.08);
  border-radius: 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.application-step-indicator:disabled {
  cursor: default;
  opacity: 0.72;
}

.application-step-indicator span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #ffffff;
  background: var(--muted);
  border-radius: 50%;
  font-size: 0.9rem;
}

.application-step-indicator strong {
  font-size: clamp(0.78rem, 1.4vw, 0.98rem);
  line-height: 1.1;
  text-align: center;
}

.application-step-indicator.is-active {
  color: var(--ink);
  background: var(--sun);
  border-color: rgba(255, 106, 0, 0.26);
  transform: translateY(-3px);
}

.application-step-indicator.is-active span,
.application-step-indicator.is-complete span {
  background: var(--coral);
}

.application-step-indicator.is-complete {
  color: var(--ink);
  border-color: rgba(147, 230, 173, 0.78);
}

.application-form {
  display: grid;
  gap: 22px;
}

.form-alert {
  padding: 14px 16px;
  color: #742b1f;
  background: #ffe1d8;
  border: 2px solid rgba(255, 106, 0, 0.22);
  border-radius: 12px;
  font-weight: 900;
}

.form-step {
  display: none;
  margin: 0;
  padding: clamp(22px, 4vw, 36px);
  background: #ffffff;
  border: 2px solid rgba(39, 49, 58, 0.08);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(116, 81, 42, 0.08);
}

.form-step.is-active {
  display: grid;
  gap: 22px;
  animation: rise-in 420ms ease both;
}

.form-step legend {
  margin-bottom: 10px;
  color: var(--coral);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1.08;
}

.form-step p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full {
  grid-column: 1 / -1;
}

.application-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.application-form label span {
  line-height: 1.2;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffdf7;
  border: 2px solid rgba(39, 49, 58, 0.12);
  border-radius: 12px;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.application-form textarea {
  resize: vertical;
  min-height: 132px;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.application-form label.checkbox-card,
.checkbox-card,
.radio-grid label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 14px;
  background: #fffdf7;
  border: 2px solid rgba(39, 49, 58, 0.1);
  border-radius: 12px;
  cursor: pointer;
}

.birth-date-group {
  display: grid;
  gap: 10px;
}

.checkbox-card.compact {
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.checkbox-card input,
.radio-grid input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--coral);
}

.checkbox-card a {
  color: var(--coral);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.application-children-list {
  display: grid;
  gap: 16px;
}

.parent-block,
.application-child-card,
.child-last-name-box {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 248, 231, 0.72);
  border: 2px dashed rgba(39, 49, 58, 0.12);
  border-radius: 14px;
}

.parent-block h2,
.application-child-card h2,
.child-last-name-box h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.parent-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.parent-block-head button,
.inline-add-button {
  justify-self: start;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--leaf);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.parent-block-head button {
  background: var(--rose);
}

.parent-block-head button:hover,
.inline-add-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 26px rgba(116, 81, 42, 0.14);
}

.is-disabled {
  opacity: 0.55;
}

.form-note {
  padding: 14px 16px;
  background: #fff5a8;
  border-radius: 12px;
  font-weight: 900;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.checkbox-pill {
  width: fit-content;
  display: inline-flex !important;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px !important;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 999px;
}

.checkbox-pill input {
  width: 22px;
  min-height: 22px;
  padding: 0;
}

.submit-application {
  text-transform: uppercase;
}

.application-success {
  padding: clamp(30px, 6vw, 60px);
  background: #ffffff;
  border: 3px dashed var(--leaf);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(116, 81, 42, 0.12);
}

.application-success h2 {
  max-width: 820px;
  margin: 0 auto;
  color: var(--coral);
}

.contact-strip .eyebrow {
  color: var(--sun);
}

.content-page,
.page-shell,
.legal-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 126px 0 72px;
}

.page-hero,
.placeholder-page {
  padding: clamp(34px, 7vw, 78px);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.compact-hero h1,
.placeholder-page h1,
.legal-shell h1 {
  max-width: 12ch;
}

.compact-hero p:not(.eyebrow),
.placeholder-page p,
.contact-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.18rem;
}

.text-layout {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.concept-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.concept-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.concept-jump-nav a:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.floating-concept-nav {
  position: fixed;
  z-index: 45;
  right: 24px;
  top: 112px;
  width: min(310px, calc(100vw - 48px));
  opacity: 0;
  pointer-events: none;
  translate: 0 -12px;
  transition: opacity 220ms ease, translate 220ms ease;
}

.floating-concept-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  translate: 0 0;
}

.floating-concept-toggle {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  color: #ffffff;
  background: var(--coral);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(116, 81, 42, 0.18);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.floating-concept-toggle:hover {
  animation: button-hover-pop 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  box-shadow: 0 26px 46px rgba(255, 106, 0, 0.28);
}

.floating-concept-toggle span:last-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--coral);
  background: #ffffff;
  border-radius: 50%;
  transition: rotate 180ms ease;
}

.floating-concept-nav.is-open .floating-concept-toggle span:last-child {
  rotate: 45deg;
}

.floating-concept-links {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  gap: 8px;
  width: 100%;
  max-height: min(62vh, 520px);
  overflow: auto;
  padding: 12px;
  background: rgba(255, 253, 244, 0.98);
  border: 2px solid rgba(39, 49, 58, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(116, 81, 42, 0.2);
  opacity: 0;
  pointer-events: none;
  scale: 0.96;
  transform-origin: top right;
  transition: opacity 180ms ease, scale 180ms ease;
}

.floating-concept-nav.is-open .floating-concept-links {
  opacity: 1;
  pointer-events: auto;
  scale: 1;
}

.floating-concept-links a {
  display: block;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(39, 49, 58, 0.08);
  border-radius: 12px;
  font-weight: 900;
  line-height: 1.18;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.floating-concept-links a:hover {
  color: #ffffff;
  background: var(--coral);
  transform: translateX(-4px);
}

.concept-sections {
  display: grid;
  gap: 26px;
  margin-top: 28px;
}

.concept-section {
  padding: clamp(26px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  box-shadow: 0 16px 46px rgba(39, 49, 58, 0.08);
  scroll-margin-top: 96px;
}

.imported-content {
  font-size: 1.05rem;
}

.imported-content h1 {
  max-width: none;
  margin-bottom: 28px;
  color: var(--coral);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.imported-content h2 {
  max-width: 980px;
  margin: 42px 0 16px;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.75rem);
}

.imported-content h3 {
  margin: 32px 0 12px;
  color: var(--blue);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.imported-content p,
.imported-content ul,
.imported-content ol {
  max-width: 920px;
}

.imported-content p {
  color: var(--ink);
}

.imported-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.text-block {
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
  border-left: 8px solid var(--sun);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(39, 49, 58, 0.07);
}

.text-block:nth-child(2n) {
  border-color: var(--leaf);
}

.text-block:nth-child(3n) {
  border-color: var(--sky);
}

.image-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-story-media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.image-story-text {
  align-self: center;
  padding: clamp(34px, 6vw, 72px);
}

.check-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--leaf);
  border-radius: 50%;
}

.daily-card {
  max-width: 720px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.placeholder-page {
  min-height: 520px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  border-top: 8px solid var(--coral);
}

.login-page {
  border-top-color: var(--leaf);
}

.chat-page {
  border-top-color: var(--sky);
}

.chat-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 140px 0 80px;
}

.chat-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.chat-hero h1 {
  max-width: 10ch;
  color: var(--orange);
}

.chat-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.18rem;
}

.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.chat-bot-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 225, 0.86));
  box-shadow: 0 28px 70px rgba(53, 38, 22, 0.14);
}

.chat-quick-panel,
.chat-window {
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
}

.chat-quick-panel {
  align-self: stretch;
  padding: 18px;
  background: #fff8e8;
}

.chat-quick-panel h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.35rem;
}

.chat-quick-list {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 9px;
}

.chat-quick-list button {
  min-height: 38px;
  padding: 9px 12px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.chat-quick-list button:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 26px rgba(53, 38, 22, 0.1);
  transform: translateY(-1px);
}

.chat-window {
  display: grid;
  grid-template-rows: auto minmax(430px, 56vh) auto;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 253, 247, 0.94), rgba(255, 253, 247, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 106, 0, 0.05) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 106, 0, 0.04) 31px 32px);
}

.chat-window-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 2px solid rgba(37, 48, 58, 0.08);
  background: #ffffff;
}

.chat-bot-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-bot-avatar {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 12px 24px rgba(255, 106, 0, 0.24);
  font-weight: 1000;
}

.chat-bot-identity small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.chat-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #14532d;
  font-size: 0.9rem;
  font-weight: 900;
}

.chat-online::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  overflow-y: auto;
}

.chat-message {
  position: relative;
  max-width: min(76%, 680px);
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.45;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(53, 38, 22, 0.08);
}

.chat-message.is-bot {
  align-self: flex-start;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(37, 48, 58, 0.08);
  border-bottom-left-radius: 6px;
}

.chat-message.is-user {
  align-self: flex-end;
  color: #ffffff;
  background: var(--orange);
  border-bottom-right-radius: 6px;
}

.chat-message.is-typing {
  color: var(--muted);
  font-style: italic;
}

.chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-top: 2px solid rgba(37, 48, 58, 0.08);
  background: #ffffff;
}

.chat-input-row input {
  width: 100%;
  min-height: 54px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 999px;
  background: #fff8e8;
}

.chat-input-row .button {
  min-width: 112px;
  border-radius: 999px;
}

.legal-shell h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.legal-shell h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.legal-shell a {
  color: var(--coral);
  font-weight: 900;
}

.privacy-shell {
  padding-bottom: 96px;
}

.privacy-lead {
  max-width: 850px;
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 850;
}

.privacy-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 34px;
}

.privacy-jump-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-size: 0.86rem;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.privacy-jump-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 102, 0, 0.34);
  box-shadow: 0 14px 30px rgba(53, 38, 22, 0.08);
}

.privacy-section {
  margin: 18px 0;
  padding: 22px;
  border: 2px solid rgba(37, 48, 58, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(53, 38, 22, 0.06);
}

.privacy-section h2 {
  margin-top: 0;
  color: var(--orange);
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.floating-chat {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: #ffffff;
  background: var(--sky);
  border-radius: 50%;
  box-shadow: var(--shadow);
  font-weight: 900;
  animation: chat-pulse 4.2s ease-in-out infinite;
  transition: transform 180ms ease, background 180ms ease;
}

.floating-chat:hover {
  background: var(--coral);
  animation: chat-hover-pop 720ms ease-in-out infinite;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 42px clamp(18px, 6vw, 74px);
  color: #ffffff;
  background: var(--ink);
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.saas-public-footer {
  padding: 34px clamp(18px, 4vw, 54px);
  color: var(--muted);
  background: #fff8df;
}

.saas-public-footer p {
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.footer-logo {
  width: 150px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
  background: #ffffff;
  border-radius: var(--radius);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.app-sidebar {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  width: 280px;
  padding: 24px;
  color: #ffffff;
  background: var(--ink);
}

.sidebar-logo {
  display: inline-flex;
  align-items: center;
}

.sidebar-logo-image {
  width: 180px;
  max-width: 100%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
  background: #ffffff;
  border-radius: var(--radius);
}

.sidebar-menu {
  display: grid;
  align-content: start;
  gap: 8px;
}

.sidebar-menu a {
  padding: 12px 14px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.sidebar-menu a:hover,
.sidebar-menu a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.sidebar-footer {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.motion-ready .reveal {
  opacity: 0;
  translate: 0 44px;
  transition: opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1), translate 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 980px) {
  .saas-login-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .saas-login-copy h1 {
    font-size: clamp(3rem, 18vw, 5.2rem);
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .language-tools {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-playful,
  .quick-actions,
  .kindergarten-board,
  .application-progress,
  .card-grid,
  .warm-grid,
  .board-notes,
  .day-story,
  .postit-grid,
  .contact-strip,
  .image-story {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-collage {
    width: min(640px, 100%);
    min-height: 560px;
  }

  .application-step-indicator {
    min-height: 58px;
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

  .form-grid.two,
  .radio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding: 12px 16px;
  }

  .brand-logo {
    width: 112px;
    max-height: 42px;
  }

  .site-nav {
    top: 70px;
  }

  .language-switch {
    font-size: 0.74rem;
  }

  .language-switch a,
  .language-plus {
    min-width: 32px;
    padding: 6px 7px;
  }

  .auto-translate-panel {
    right: -52px;
    width: min(340px, calc(100vw - 32px));
    max-height: 66vh;
  }

  .auto-language-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .postit-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .application-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 108px;
  }

  .application-card {
    padding: 14px;
    border-radius: 14px;
  }

  .application-progress {
    gap: 7px;
  }

  .application-step-indicator {
    min-height: 52px;
    padding: 8px 10px;
  }

  .application-step-indicator span {
    width: 26px;
    height: 26px;
  }

  .form-step {
    padding: 20px 16px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }

  .hero-actions,
  .contact-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .site-footer nav {
    width: 100%;
  }

  .mini-notes {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    min-height: 430px;
  }

  .photo-main {
    left: 0;
    right: 0;
    top: 42px;
    height: 270px;
  }

  .photo-top {
    width: 45%;
    height: 128px;
  }

  .photo-bottom {
    width: 50%;
    height: 142px;
    bottom: 30px;
  }

  .parent-note {
    right: 0;
    bottom: 38px;
    width: 58%;
    padding: 16px;
  }

  .round-badge {
    top: auto;
    left: auto;
    right: -6px;
    bottom: -12px;
    width: 88px;
    height: 88px;
  }

  .bio-badge {
    top: 12px;
    right: auto;
    bottom: auto;
    left: -4px;
  }

  .wood-frame {
    border-width: 8px;
  }

  .image-story-media img {
    min-height: 300px;
  }

  .floating-concept-nav {
    top: auto;
    right: 96px;
    bottom: 16px;
    left: 16px;
    width: auto;
    translate: 0 14px;
  }

  .floating-concept-toggle {
    min-height: 54px;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .floating-concept-links {
    top: auto;
    right: auto;
    bottom: calc(100% + 10px);
    left: 0;
    max-height: 54vh;
    transform-origin: bottom left;
  }

  .floating-concept-links a {
    padding: 13px 12px;
    font-size: 0.95rem;
  }

  .floating-chat {
    width: 64px;
    height: 64px;
    font-size: 0.85rem;
  }

  .site-footer nav {
    flex-direction: column;
  }

  .chat-shell {
    padding-top: 112px;
  }

  .chat-hero,
  .chat-bot-card {
    grid-template-columns: 1fr;
  }

  .chat-actions {
    justify-content: flex-start;
  }

  .chat-window {
    grid-template-rows: auto minmax(360px, 58vh) auto;
  }

  .chat-message {
    max-width: 92%;
  }

  .chat-input-row {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    width: 100%;
    min-height: auto;
  }
}

.admin-page {
  min-height: 100vh;
  color: var(--ink);
  background: var(--cream);
}

.admin-topbar,
.admin-shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 14px;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--orange);
  font-size: clamp(1.1rem, 2.5vw, 2.3rem);
  line-height: 1.05;
}

.admin-product-logo {
  display: block;
  width: min(230px, 62vw);
  height: auto;
  margin: 0 0 8px;
}

.admin-topbar nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-topbar nav.admin-mini-nav {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 980px;
}

.admin-topbar nav.admin-mini-nav .button {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
}

.admin-shell {
  padding-bottom: 48px;
}

.admin-shell.detail {
  display: grid;
  gap: 20px;
}

.admin-panel,
.admin-login-card {
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(53, 38, 22, 0.08);
}

.admin-panel.is-searching {
  cursor: progress;
}

.admin-panel.is-searching .admin-table-wrap {
  opacity: 0.62;
}

.admin-panel h2,
.admin-login-card h1 {
  margin: 0 0 8px;
  color: var(--orange);
}

.admin-panel h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.admin-panel-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-search {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto auto auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-search label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.admin-search input {
  width: 100%;
  min-height: 48px;
  border-color: var(--line);
  border-radius: 8px;
}

.admin-filter-buttons,
.admin-flag-form,
.admin-status-display {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-filter-toggle,
.admin-status-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 900;
  cursor: pointer;
}

.admin-filter-toggle input,
.admin-status-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-filter-toggle.is-active,
.admin-status-toggle.is-on {
  border-color: #e5484d;
  color: #ffffff;
  background: #e5484d;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 6px;
}

.admin-row-actions form {
  margin: 0;
}

.admin-row-actions .button {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.admin-flag-badge,
.admin-flag-empty {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.admin-flag-badge.is-hot {
  color: #7f1d1d;
  background: #ffd6d6;
}

.admin-flag-badge.is-kontaktiert {
  color: #1f3b66;
  background: #d7e8ff;
}

.admin-flag-badge.is-vertrag {
  color: #14532d;
  background: #d7f8df;
}

.admin-flag-badge.is-inaktiv {
  color: #3f3f46;
  background: #e4e4e7;
}

.admin-flag-empty {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
}

.admin-status-panel {
  display: grid;
  gap: 16px;
}

.admin-status-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-status-actions form {
  margin: 0;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1080px;
  table-layout: fixed;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1) {
  width: 150px;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
  width: 140px;
}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3) {
  width: 112px;
}

.admin-table th:nth-child(4),
.admin-table td:nth-child(4) {
  width: 150px;
}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5) {
  width: 240px;
}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6) {
  width: 150px;
}

.admin-table th:nth-child(7),
.admin-table td:nth-child(7) {
  width: 88px;
}

.admin-table th:nth-child(8),
.admin-table td:nth-child(8) {
  width: 150px;
}

.admin-table th:nth-child(9),
.admin-table td:nth-child(9) {
  width: 110px;
}

.admin-table th:last-child,
.admin-table td:last-child {
  width: 390px;
}

.admin-date-cell,
.admin-contact-cell,
.admin-children-cell {
  display: grid;
  gap: 6px;
}

.admin-date-cell small,
.admin-contact-cell small,
.admin-children-cell small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

.admin-name-cell {
  font-weight: 800;
}

.admin-action-cell .button {
  width: 94px;
  min-width: 94px;
  border-radius: 999px;
  white-space: nowrap;
}

.admin-table tr.is-hot-row {
  background: linear-gradient(90deg, rgba(255, 214, 214, 0.26), transparent 36%);
}

.compact-button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-detail-grid .full {
  grid-column: 1 / -1;
}

.admin-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-nav-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-nav-card {
  --tile-accent: var(--orange);
  --tile-soft: rgba(255, 102, 0, 0.11);
  --tile-image: url("assets/images/classroom.jpeg");
  display: grid;
  position: relative;
  min-height: 152px;
  align-content: space-between;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 226, 0.84)),
    var(--tile-soft);
  box-shadow: 0 18px 38px rgba(37, 48, 58, 0.08);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-nav-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 52%, rgba(255, 255, 255, 0.34) 100%),
    var(--tile-image);
  background-position: center;
  background-size: cover;
  opacity: 0.32;
  pointer-events: none;
}

.admin-nav-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--tile-accent);
  pointer-events: none;
}

.admin-nav-card > * {
  position: relative;
  z-index: 1;
}

.admin-nav-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tile-accent) 55%, #ffffff);
  box-shadow: 0 24px 48px rgba(255, 102, 0, 0.14);
}

.admin-nav-card span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tile-accent) 16%, #ffffff);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
}

.admin-nav-card strong {
  max-width: 13ch;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: normal;
}

.admin-nav-card small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.admin-nav-card.is-applications,
.admin-nav-card:nth-child(1) {
  --tile-accent: #ff6a00;
  --tile-soft: #fff0d8;
  --tile-image: url("assets/images/playground.jpeg");
}

.admin-nav-card.is-parents,
.admin-nav-card:nth-child(2) {
  --tile-accent: #8ee6a7;
  --tile-soft: #e8fff0;
  --tile-image: url("assets/images/children.jpeg");
}

.admin-nav-card.is-system,
.admin-nav-card:nth-child(3) {
  --tile-accent: #7ed4f7;
  --tile-soft: #e7f8ff;
  --tile-image: url("assets/images/classroom.jpeg");
}

.admin-nav-card.is-documents,
.admin-nav-card:nth-child(4) {
  --tile-accent: #ffd86f;
  --tile-soft: #fff7d8;
  --tile-image: url("assets/images/logo-header.png");
}

.admin-nav-card.is-colors,
.admin-nav-card:nth-child(5) {
  --tile-accent: #ff8a65;
  --tile-soft: #fff0e8;
  --tile-image: url("assets/images/playground.jpeg");
}

.admin-nav-card.is-backup,
.admin-nav-card:nth-child(6) {
  --tile-accent: #b7a6ff;
  --tile-soft: #f1edff;
  --tile-image: url("assets/images/classroom.jpeg");
}

.admin-nav-card.is-mail,
.admin-nav-card.is-bot {
  --tile-accent: #ff78a5;
  --tile-soft: #fff0f6;
  --tile-image: url("assets/images/children.jpeg");
}

.admin-nav-card.is-cleanup {
  --tile-accent: #2dd4bf;
  --tile-soft: #e6fffb;
  --tile-image: url("assets/images/classroom.jpeg");
}

.admin-system-hub {
  margin-bottom: 20px;
}

.admin-scope-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-def-list {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px 14px;
  margin: 0;
}

.admin-def-list dt {
  color: var(--muted);
  font-weight: 900;
}

.admin-def-list dd {
  margin: 0;
}

.excel-copy-field {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
}

.excel-columns {
  margin-top: 12px;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #fff8e8 0%, #f7f0df 100%);
}

.admin-login-card {
  display: grid;
  gap: 20px;
  width: min(460px, 100%);
  padding: 34px;
  border-color: rgba(255, 106, 0, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(53, 38, 22, 0.14);
}

.admin-login-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.admin-login-brand img {
  display: block;
  width: min(260px, 78%);
  height: auto;
  margin-bottom: 6px;
}

.admin-login-brand h1 {
  margin: 0;
  color: var(--orange);
  font-size: clamp(2rem, 8vw, 3.1rem);
  line-height: 0.98;
}

.saas-login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  padding: clamp(24px, 6vw, 82px);
  background:
    linear-gradient(135deg, rgba(255, 238, 166, 0.72), rgba(222, 250, 232, 0.78)),
    var(--paper);
}

.saas-login-copy {
  max-width: 760px;
}

.saas-login-logo {
  display: block;
  width: min(430px, 82vw);
  height: auto;
  margin: 0 0 22px;
}

.saas-login-copy h1 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(4rem, 9vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.saas-login-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.55;
}

.saas-login-card {
  width: 100%;
}

.admin-muted {
  color: var(--muted);
  font-weight: 800;
}

.admin-login-fields {
  display: grid;
  gap: 16px;
}

.admin-login-card label {
  display: grid;
  gap: 9px;
  font-weight: 900;
}

.admin-login-card label span {
  padding-left: 4px;
  color: var(--ink);
  font-size: 0.96rem;
}

.admin-login-card input {
  width: 100%;
  min-height: 60px;
  padding: 16px 18px;
  border: 2px solid rgba(37, 48, 58, 0.12);
  border-radius: 8px;
  outline: none;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 10px 24px rgba(53, 38, 22, 0.06);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.admin-login-card input::placeholder {
  color: rgba(37, 48, 58, 0.38);
  font-weight: 700;
}

.admin-login-card input:hover {
  border-color: rgba(255, 106, 0, 0.32);
}

.admin-login-card input:focus {
  border-color: var(--orange);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12), 0 14px 32px rgba(53, 38, 22, 0.1);
  transform: translateY(-1px);
}

.admin-login-submit {
  width: 100%;
}

.admin-alert {
  padding: 12px 14px;
  border: 2px solid #ffb49e;
  border-radius: 8px;
  color: #7f1d1d;
  background: #ffe1d8;
  font-weight: 900;
}

.admin-alert.success {
  border-color: #86efac;
  color: #14532d;
  background: #dcfce7;
}

.support-impersonation-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 auto 22px;
  max-width: 1840px;
  padding: 14px 16px;
  border: 2px solid #ffd166;
  border-radius: 8px;
  background: #fff4c2;
  color: var(--ink);
  font-weight: 850;
}

.support-impersonation-banner span {
  color: var(--muted);
}

.support-impersonation-banner .button {
  margin-left: auto;
}

.system-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.system-settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.system-settings-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.system-settings-form input,
.system-settings-form select {
  width: 100%;
  min-height: 52px;
}

.system-settings-form .button {
  align-self: end;
}

.system-form-actions {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
}

.system-event-colors-form,
.system-event-color-list {
  display: grid;
  gap: 14px;
}

.system-event-color-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(120px, 180px) max-content;
  align-items: end;
  gap: 14px;
  padding: 14px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.cleanup-intro-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cleanup-intro-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.cleanup-mode-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff0b3;
  color: #6f4b00;
  font-weight: 950;
  white-space: nowrap;
}

.cleanup-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cleanup-rule-card {
  display: grid;
  gap: 14px;
  min-height: 310px;
  padding: 18px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-left: 7px solid #2dd4bf;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 240, 0.82)),
    linear-gradient(135deg, rgba(45, 212, 191, 0.12), transparent 58%);
  box-shadow: 0 18px 34px rgba(53, 38, 22, 0.08);
}

.cleanup-rule-card.is-disabled {
  opacity: 0.62;
  filter: grayscale(0.3);
}

.cleanup-rule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cleanup-rule-head > span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.16);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
}

.cleanup-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 950;
}

.cleanup-rule-card > strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.08;
}

.cleanup-rule-card > p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.cleanup-month-field {
  display: grid;
  grid-template-columns: 1fr 90px max-content;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.cleanup-month-field input {
  width: 100%;
  min-height: 48px;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.cleanup-month-field input::-webkit-outer-spin-button,
.cleanup-month-field input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.cleanup-month-field em {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.cleanup-preview-box {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding: 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 2px solid rgba(37, 48, 58, 0.08);
}

.cleanup-preview-box span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cleanup-preview-box strong {
  color: var(--orange);
  font-size: 2.4rem;
  line-height: 1;
}

.cleanup-preview-box small {
  color: var(--muted);
  font-weight: 800;
}

.cleanup-actions {
  margin-top: 18px;
}

.system-event-color-row label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.system-event-color-row input[type="text"],
.system-event-color-row input[type="color"] {
  width: 100%;
  min-height: 52px;
}

.system-event-color-row input[type="color"] {
  padding: 8px;
}

.event-preset-control {
  position: relative;
  display: block;
}

.event-preset-control select {
  padding-left: 56px;
}

.event-preset-preview {
  position: absolute;
  left: 18px;
  top: 50%;
  z-index: 1;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(37, 48, 58, 0.16);
  border-radius: 50%;
  background: var(--event-color, #8ee6a7);
  transform: translateY(-50%);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(37, 48, 58, 0.12);
}

.system-table {
  min-width: 620px;
}

.admin-language-tabs,
.infobot-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.infobot-admin-form {
  display: grid;
  gap: 18px;
}

.infobot-admin-form label,
.infobot-intent-card {
  display: grid;
  gap: 8px;
}

.infobot-admin-form label {
  color: var(--ink);
  font-weight: 900;
}

.infobot-admin-form input,
.infobot-admin-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 2px solid rgba(37, 48, 58, 0.12);
  border-radius: 8px;
  outline: none;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 24px rgba(53, 38, 22, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.infobot-admin-form textarea {
  resize: vertical;
  line-height: 1.45;
}

.infobot-admin-form input:focus,
.infobot-admin-form textarea:focus {
  border-color: var(--orange);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12), 0 14px 30px rgba(53, 38, 22, 0.08);
  transform: translateY(-1px);
}

.infobot-intent-list {
  display: grid;
  gap: 16px;
}

.infobot-intent-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 18px;
  border: 2px dashed rgba(37, 48, 58, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.infobot-intent-card legend {
  padding: 0 8px;
  color: var(--orange);
  font-size: 1.05rem;
  font-weight: 950;
}

.infobot-intent-card .full,
.infobot-remove-button {
  grid-column: 1 / -1;
}

.infobot-remove-button {
  justify-self: start;
}

.portal-page,
.portal-login-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 1px, transparent 1px),
    #fff8e8;
  background-size: 56px 56px;
  color: var(--ink);
}

.portal-login-page {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 34px;
  padding: clamp(44px, 8vw, 96px) 0;
}

.portal-login-copy h1,
.portal-topbar h1 {
  margin: 0;
  color: var(--orange);
  font-size: clamp(3.1rem, 9vw, 6.4rem);
  line-height: 0.96;
}

.portal-login-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.portal-login-card,
.portal-panel {
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 46px rgba(53, 38, 22, 0.1);
}

.portal-login-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.portal-form,
.portal-admin-form {
  display: grid;
  gap: 16px;
}

.portal-form h2,
.portal-form h3,
.portal-panel h2 {
  margin: 0;
  color: var(--ink);
}

.portal-form label,
.portal-admin-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.portal-admin-form label small {
  color: rgba(37, 48, 58, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}

.portal-form input,
.portal-admin-form input,
.portal-admin-form select,
.portal-admin-form textarea,
.portal-admin-row input,
.portal-admin-row select {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 2px solid rgba(37, 48, 58, 0.12);
  border-radius: 8px;
  outline: none;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  color: var(--ink);
  font: inherit;
  font-weight: 780;
}

.portal-form input:focus,
.portal-admin-form input:focus,
.portal-admin-form select:focus,
.portal-admin-form textarea:focus,
.portal-admin-row input:focus,
.portal-admin-row select:focus {
  border-color: var(--orange);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.rich-editor-source {
  display: none;
}

.rich-editor {
  display: grid;
  gap: 0;
  margin-top: 8px;
  border: 2px solid rgba(37, 48, 58, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #fffdf7;
}

.rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-bottom: 2px solid rgba(37, 48, 58, 0.08);
  background: rgba(255, 248, 228, 0.85);
}

.rich-editor-toolbar button,
.rich-editor-select,
.rich-editor-color {
  min-width: 42px;
  min-height: 38px;
  padding: 8px 10px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.rich-editor-select {
  width: auto;
  min-width: 160px;
  appearance: auto;
}

.portal-admin-form .rich-editor-select {
  width: auto;
  min-height: 38px;
  padding: 8px 34px 8px 10px;
}

.rich-editor-divider {
  width: 2px;
  height: 30px;
  border-radius: 99px;
  background: rgba(37, 48, 58, 0.1);
}

.rich-editor-color {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 0;
}

.rich-editor-color span {
  font-weight: 950;
}

.rich-editor-color input {
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.rich-editor-toolbar button:hover,
.rich-editor-toolbar button:focus,
.rich-editor-toolbar button.is-active,
.rich-editor-select:focus,
.rich-editor-color:focus-within {
  border-color: var(--orange);
  outline: none;
  transform: translateY(-1px);
}

.rich-editor-surface {
  min-height: 180px;
  padding: 16px;
  color: var(--ink);
  line-height: 1.55;
}

.rich-editor-code {
  width: 100%;
  min-height: 220px;
  padding: 16px;
  border: 0;
  background: #1f2933;
  color: #f8fafc;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1.55;
  resize: vertical;
}

.rich-editor-code:focus {
  outline: none;
  box-shadow: inset 0 0 0 4px rgba(255, 106, 0, 0.24);
}

.rich-editor-surface:focus {
  outline: none;
  box-shadow: inset 0 0 0 4px rgba(128, 232, 166, 0.18);
}

.rich-editor-surface.is-invalid,
.rich-editor-code.is-invalid {
  box-shadow: inset 0 0 0 4px rgba(239, 68, 68, 0.16);
}

.rich-editor-surface p,
.rich-editor-surface div,
.rich-editor-surface blockquote,
.rich-editor-surface h3,
.rich-editor-surface h2,
.rich-editor-surface h4,
.portal-rich-text p,
.portal-rich-text div,
.portal-rich-text blockquote,
.portal-rich-text h2,
.portal-rich-text h3,
.portal-rich-text h4 {
  margin: 0 0 0.75em;
}

.rich-editor-surface blockquote,
.portal-rich-text blockquote {
  padding: 10px 14px;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: rgba(255, 231, 122, 0.22);
}

.rich-editor-surface ul,
.rich-editor-surface ol,
.portal-rich-text ul,
.portal-rich-text ol {
  margin: 0.4em 0 0.8em 1.2em;
  padding-left: 1.1em;
}

.portal-rich-text {
  color: var(--muted);
  line-height: 1.55;
}

.portal-rich-text a {
  color: var(--orange);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portal-rich-text > :last-child {
  margin-bottom: 0;
}

.portal-forgot-form {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 2px dashed rgba(37, 48, 58, 0.12);
}

.portal-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 4vw, 42px);
}

.portal-topbar nav,
.portal-group-row,
.portal-checkbox-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-icon-button {
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.portal-icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portal-icon-button:hover {
  color: var(--orange);
}

.portal-language-tools {
  position: relative;
}

.portal-language-tools .auto-translate-panel {
  right: 0;
  left: auto;
  z-index: 80;
}

.portal-shell {
  width: min(1760px, calc(100% - 42px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.portal-grid,
.portal-admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.portal-panel {
  padding: clamp(18px, 3vw, 34px);
}

.portal-panel-wide,
.portal-admin-form .full {
  grid-column: 1 / -1;
}

.portal-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.portal-panel-head span {
  color: var(--muted);
  font-weight: 900;
}

.portal-card-list,
.portal-gallery-list,
.portal-admin-list {
  display: grid;
  gap: 14px;
}

.portal-card-list.compact {
  gap: 12px;
}

.portal-item,
.portal-gallery-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 2px solid rgba(37, 48, 58, 0.09);
  border-radius: 8px;
  background: #fffdf7;
}

.portal-actions-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.portal-item.is-important {
  border-color: rgba(255, 106, 0, 0.34);
  background: #fff7d6;
}

.portal-permanent-info-panel {
  border-color: rgba(255, 106, 0, 0.18);
}

.portal-item.is-permanent-info {
  border-color: rgba(255, 224, 118, 0.85);
  background: linear-gradient(135deg, #fffdf7 0%, #fff4cc 100%);
}

.portal-item.is-permanent-info summary strong::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 999px;
  background: #ffe477;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
}

.portal-item h3,
.portal-gallery-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.portal-item p,
.portal-gallery-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 950;
}

.portal-badge.is-shorties {
  background: #dbeafe;
  color: #1d4ed8;
}

.portal-badge.is-kiddies {
  background: #dcfce7;
  color: #166534;
}

.portal-badge.is-all {
  background: #fde68a;
  color: #854d0e;
}

.portal-badge.is-hot {
  background: #fee2e2;
  color: #991b1b;
}

.portal-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-file-list a {
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef2f7;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.portal-read-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.portal-read-note {
  color: rgba(37, 48, 58, 0.56);
  font-size: 0.95rem;
  font-weight: 850;
}

.portal-meta-line {
  color: rgba(37, 48, 58, 0.54) !important;
  font-size: 0.95rem;
  font-weight: 850;
}

.portal-gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.portal-accordion-item {
  overflow: hidden;
}

.portal-accordion-item summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

.portal-accordion-item summary::-webkit-details-marker {
  display: none;
}

.portal-accordion-item summary strong {
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.42rem);
}

.portal-accordion-item[open] summary {
  padding-bottom: 12px;
  border-bottom: 2px dashed rgba(37, 48, 58, 0.1);
}

.portal-calendar-tools,
.portal-calendar-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.portal-calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.portal-calendar-grid.is-year {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-calendar-month {
  padding: 14px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: #fffdf7;
}

.portal-calendar-month h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.portal-calendar-weekdays,
.portal-calendar-grid-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.portal-calendar-weekdays span {
  color: rgba(37, 48, 58, 0.58);
  font-size: 0.82rem;
  font-weight: 950;
  text-align: center;
}

.portal-calendar-day {
  min-height: 82px;
  padding: 6px;
  border: 1px solid rgba(37, 48, 58, 0.08);
  border-radius: 7px;
  background: #ffffff;
}

.portal-calendar-day.is-muted {
  opacity: 0.42;
}

.portal-calendar-day.is-weekend {
  background: linear-gradient(135deg, rgba(37, 48, 58, 0.045), rgba(37, 48, 58, 0.018));
  opacity: 0.66;
}

.portal-calendar-day.is-weekend.has-events {
  opacity: 0.78;
}

.portal-calendar-day.is-weekend strong {
  color: rgba(37, 48, 58, 0.55);
}

.portal-calendar-day strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.9rem;
}

.portal-calendar-event {
  display: block;
  margin-top: 3px;
  padding: 3px 5px;
  border-left: 4px solid var(--event-color, #8ee6a7);
  border-radius: 5px;
  background: color-mix(in srgb, var(--event-color, #8ee6a7) 20%, #ffffff);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
}

.portal-event-list-item {
  border-left: 8px solid var(--event-color, #8ee6a7);
}

.compact-head {
  margin: 8px 0 0;
}

.compact-head h3 {
  margin: 0;
}

.portal-color-dot {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(37, 48, 58, 0.12);
  border-radius: 50%;
  background: var(--event-color, #8ee6a7);
}

.portal-admin-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) minmax(140px, 1fr) 130px repeat(3, max-content) repeat(3, max-content);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 2px solid rgba(37, 48, 58, 0.08);
  border-radius: 8px;
  background: #fffdf7;
}

.portal-admin-account-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.portal-admin-account-main strong,
.portal-admin-account-main small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-admin-account-main small {
  color: rgba(37, 48, 58, 0.62);
  font-weight: 850;
}

.account-picker-row {
  color: inherit;
  text-decoration: none;
}

.account-picker-row.is-selected {
  border-color: #8ee6a7;
  background: #f1fff5;
}

.admin-form-subhead {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  color: var(--orange);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.admin-children-edit {
  display: grid;
  gap: 12px;
}

.admin-child-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 2px dashed rgba(37, 48, 58, 0.12);
  border-radius: 8px;
  background: #fffdf7;
}

.portal-admin-row label,
.portal-checkbox-row label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
}

.portal-admin-row input[type="checkbox"],
.portal-checkbox-row input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
}

.portal-account-filters {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(220px, 1fr) minmax(260px, 1.15fr) max-content;
  align-items: end;
  gap: 16px;
  margin: 0 0 20px;
  padding: 16px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffdf7 0%, #fff7df 100%);
  box-shadow: 0 14px 30px rgba(53, 38, 22, 0.06);
}

.portal-account-filters label,
.portal-filter-group {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.portal-account-filters > label > span,
.portal-filter-group > span {
  color: rgba(37, 48, 58, 0.7);
  font-size: 0.95rem;
}

.portal-account-filters input[type="search"] {
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border: 2px solid rgba(37, 48, 58, 0.12);
  border-radius: 8px;
  outline: none;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 22px rgba(53, 38, 22, 0.05);
}

.portal-account-filters input[type="search"]:focus {
  border-color: var(--orange);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.portal-filter-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-filter-chip {
  display: inline-flex;
  align-items: center;
  width: auto;
}

.portal-filter-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.portal-filter-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 2px solid rgba(37, 48, 58, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 950;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.portal-filter-chip span:hover {
  border-color: rgba(255, 106, 0, 0.34);
  transform: translateY(-1px);
}

.portal-filter-chip.is-active span {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

.is-hidden {
  display: none !important;
}

.portal-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.portal-document-box {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  border: 2px solid rgba(37, 48, 58, 0.08);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffdf7 0%, #fff8e7 100%);
  box-shadow: 0 18px 36px rgba(53, 38, 22, 0.07);
}

.portal-document-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portal-document-box h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  color: var(--ink);
}

.portal-document-box-head span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffe77a;
  color: var(--ink);
  font-weight: 950;
}

.portal-document-list {
  display: grid;
  gap: 10px;
}

.portal-document-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 2px solid rgba(37, 48, 58, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.portal-document-row strong,
.portal-document-row small {
  display: block;
}

.portal-document-row small {
  margin-top: 3px;
  color: rgba(37, 48, 58, 0.68);
  font-weight: 800;
}

.portal-document-upload {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 2px dashed rgba(255, 106, 0, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.portal-document-upload-fields {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(220px, 1.15fr);
  gap: 12px;
}

.portal-document-upload label,
.portal-document-settings {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.portal-document-upload input,
.portal-document-upload textarea {
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  border: 2px solid rgba(37, 48, 58, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  outline: none;
  box-shadow: 0 10px 20px rgba(53, 38, 22, 0.04);
}

.portal-document-upload textarea {
  resize: vertical;
}

.portal-document-upload input:focus,
.portal-document-upload textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.portal-file-drop {
  grid-column: 1 / -1;
  padding: 14px;
  border: 2px solid rgba(37, 48, 58, 0.08);
  border-radius: 8px;
  background: #fffaf0;
}

.portal-file-drop input[type="file"] {
  padding: 10px;
  background: #ffffff;
}

.portal-file-drop input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: #8ee6a7;
  color: var(--ink);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.portal-file-drop small {
  color: rgba(37, 48, 58, 0.62);
  font-weight: 850;
}

.portal-document-upload-actions {
  display: flex;
  justify-content: flex-end;
}

.portal-profile-list {
  margin-top: 18px;
}

.portal-profile-list dd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-profile-form {
  margin-top: 22px;
}

.portal-check-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: #fffdf7;
  font-weight: 900;
}

.portal-muted {
  display: block;
  color: rgba(37, 48, 58, 0.62);
  font-weight: 800;
}

.portal-empty-state {
  display: grid;
  gap: 6px;
  min-height: 118px;
  align-content: center;
  padding: 18px;
  border: 2px dashed rgba(37, 48, 58, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.portal-empty-state strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.saas-kita-module-row {
  grid-template-columns: minmax(220px, 0.7fr) minmax(360px, 1.3fr);
  align-items: start;
}

.saas-module-form {
  display: grid;
  gap: 14px;
}

.saas-module-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 999px;
  background: #fffdf7;
  font-weight: 900;
}

.pill-check:has(input:checked) {
  border-color: rgba(28, 121, 255, 0.42);
  background: #eaf3ff;
  color: #1557a8;
}

.pill-check.is-disabled {
  opacity: 0.48;
  background: #f4f1eb;
}

.pill-check.is-disabled input {
  cursor: not-allowed;
}

.portal-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.portal-detail-grid div {
  background: rgba(255, 248, 232, 0.55);
  border: 2px solid rgba(35, 47, 57, 0.08);
  border-radius: 8px;
  padding: 16px;
}

.portal-detail-grid strong,
.portal-detail-grid span {
  display: block;
}

.portal-detail-grid strong {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.portal-empty-state small {
  color: rgba(37, 48, 58, 0.62);
  font-weight: 850;
}

.portal-document-settings {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px dashed rgba(37, 48, 58, 0.12);
}

.portal-document-settings label,
.portal-inline-form label,
.admin-doc-target label,
.admin-doc-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.admin-doc-target,
.admin-doc-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 16px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: #fffdf7;
}

.admin-doc-target {
  gap: 10px;
}

.admin-doc-target .admin-doc-target-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 16px;
  border: 2px solid rgba(37, 48, 58, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.admin-doc-target .admin-doc-target-option:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 106, 0, 0.34);
}

.admin-doc-target .admin-doc-target-option.is-active {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.admin-doc-target .admin-doc-target-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-doc-target legend,
.admin-doc-checks legend {
  padding: 0 8px;
  color: rgba(37, 48, 58, 0.7);
  font-weight: 950;
}

.admin-doc-checks small {
  color: rgba(37, 48, 58, 0.62);
}

.admin-template-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 12px;
}

.admin-template-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 14px 16px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.admin-template-card:hover,
.admin-template-card:has(input:checked) {
  border-color: rgba(255, 106, 0, 0.44);
  background: #fff8e7;
  box-shadow: 0 12px 24px rgba(53, 38, 22, 0.08);
}

.admin-template-card input[type="checkbox"] {
  width: 24px;
  min-height: 24px;
  accent-color: var(--orange);
}

.admin-template-card span {
  min-width: 0;
}

.admin-template-card strong,
.admin-template-card small {
  display: block;
}

.admin-template-card strong {
  line-height: 1.25;
}

.admin-doc-parents {
  display: grid;
  gap: 16px;
}

.admin-doc-parent-search {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) max-content;
  align-items: end;
  gap: 14px;
  width: 100%;
}

.admin-doc-parent-search label {
  display: grid;
  gap: 7px;
}

.admin-doc-parent-search input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 2px solid rgba(37, 48, 58, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  outline: none;
}

.admin-doc-parent-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.admin-doc-parent-search .admin-doc-count {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 4px;
  color: rgba(37, 48, 58, 0.62);
  font-size: 0.92rem;
  font-weight: 900;
  white-space: nowrap;
}

.admin-doc-count span:first-child {
  min-width: 1ch;
  color: var(--ink);
}

.admin-created-documents {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-created-documents a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #087d37;
  font-weight: 950;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px rgba(8, 125, 55, 0.14);
}

.admin-doc-parent-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  width: 100%;
}

.admin-doc-checks .admin-doc-parent-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 12px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.admin-doc-checks .admin-doc-parent-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 106, 0, 0.34);
  box-shadow: 0 12px 24px rgba(53, 38, 22, 0.07);
}

.admin-doc-parent-card.is-selected {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
}

.admin-doc-parent-card input[type="checkbox"],
.admin-doc-parent-card input[type="radio"] {
  width: 26px;
  min-height: 26px;
  accent-color: #2563eb;
}

.admin-doc-parent-card span {
  min-width: 0;
}

.admin-doc-parent-card strong,
.admin-doc-parent-card small {
  display: block;
}

.admin-doc-parent-card small {
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: rgba(37, 48, 58, 0.62);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-doc-parent-card .portal-badge {
  margin-top: 4px;
  margin-right: 4px;
}

.portal-gallery-detail {
  gap: 18px;
}

.portal-gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 18px;
  padding: 16px;
  border: 2px solid rgba(37, 48, 58, 0.08);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffdf7 0%, #fff8e7 100%);
}

.portal-gallery-intro h3 {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
}

.portal-gallery-intro p {
  margin: 0 0 8px;
}

.portal-gallery-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 96px));
  gap: 8px;
}

.portal-gallery-thumb {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 5px;
  border: 2px solid rgba(37, 48, 58, 0.09);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.portal-gallery-thumb:hover {
  transform: translateY(-2px) rotate(-0.4deg);
  border-color: rgba(255, 106, 0, 0.38);
  box-shadow: 0 14px 28px rgba(53, 38, 22, 0.12);
}

.portal-gallery-thumb img,
.portal-gallery-thumb video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: #eef7fb;
}

.portal-gallery-thumb small {
  overflow: hidden;
  color: rgba(37, 48, 58, 0.68);
  font-size: 0.62rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-gallery-thumb > span {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #8ee6a7;
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 950;
}

.button.is-disabled {
  pointer-events: none;
  opacity: 0.62;
}

.portal-lightbox[hidden] {
  display: none;
}

.portal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.portal-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 25, 31, 0.74);
}

.portal-lightbox-dialog {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(1100px, 96vw);
  max-height: 92vh;
  padding: 14px;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.portal-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portal-lightbox-head > div {
  display: flex;
  gap: 8px;
}

.portal-lightbox-media {
  display: grid;
  place-items: center;
  min-height: 240px;
  overflow: auto;
}

.portal-lightbox-media img,
.portal-lightbox-media video {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 8px;
}

body.is-lightbox-open {
  overflow: hidden;
}

.portal-calendar-popup[hidden] {
  display: none;
}

.portal-calendar-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: end center;
  padding: 14px;
}

.portal-calendar-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 25, 31, 0.62);
}

.portal-calendar-popup-dialog {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(560px, 100%);
  max-height: 78vh;
  padding: 14px;
  overflow: auto;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.portal-calendar-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portal-calendar-popup-list {
  display: grid;
  gap: 10px;
}

.portal-calendar-popup-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-left: 8px solid var(--event-color, #8ee6a7);
  border-radius: 8px;
  background: #ffffff;
}

.portal-calendar-popup-item small {
  color: rgba(37, 48, 58, 0.65);
  font-weight: 900;
}

.portal-calendar-popup-item p {
  margin: 0;
}

body.is-calendar-popup-open {
  overflow: hidden;
}

.gallery-upload-dropzone {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 2px dashed rgba(255, 106, 0, 0.35);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffdf7 0%, #fff6df 100%);
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.gallery-upload-dropzone > span {
  color: var(--ink);
  font-weight: 950;
}

.gallery-upload-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gallery-upload-dropzone label {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 24px;
  border: 2px solid rgba(37, 48, 58, 0.08);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(53, 38, 22, 0.06);
}

.gallery-upload-dropzone label strong {
  color: var(--orange);
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
}

.gallery-upload-dropzone label small {
  margin-top: 6px;
  color: rgba(37, 48, 58, 0.62);
  font-weight: 850;
}

.portal-form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
}

.system-document-dropzone label {
  min-height: 112px;
  padding: 18px;
}

.system-document-dropzone label strong {
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.gallery-upload-dropzone.is-dragging {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.16);
  transform: translateY(-1px);
}

.gallery-upload-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.gallery-upload-selection span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 2px 10px;
  align-items: center;
  padding: 10px 12px;
  border: 2px solid rgba(37, 48, 58, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.gallery-upload-selection strong {
  grid-column: 1;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-upload-selection small {
  grid-column: 1;
  color: rgba(37, 48, 58, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
}

.gallery-upload-selection button {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 7px 10px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 950;
  cursor: pointer;
}

.gallery-upload-selection button:hover {
  border-color: #ef4444;
  color: #991b1b;
}

.child-gallery-form {
  margin-top: 18px;
}

.child-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.child-gallery-file {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 2px solid rgba(37, 48, 58, 0.08);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 12px 26px rgba(53, 38, 22, 0.06);
}

.child-gallery-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7ed, #eef8ff);
  color: var(--orange);
  font-size: 1.2rem;
  font-weight: 950;
  text-decoration: none;
}

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

.child-gallery-preview span {
  padding: 12px 16px;
  border: 2px solid rgba(255, 106, 0, 0.18);
  border-radius: 999px;
  background: #ffffff;
}

.child-gallery-edit {
  display: grid;
  gap: 8px;
}

.child-gallery-edit label {
  display: grid;
  gap: 5px;
}

.child-gallery-edit label span {
  color: rgba(37, 48, 58, 0.7);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.child-gallery-edit input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.beokids-workspace {
  overflow: visible;
}

.beokids-form {
  align-items: start;
}

.beokids-accordion {
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.78);
  padding: 0;
  overflow: hidden;
}

.beokids-accordion + .beokids-accordion {
  margin-top: 8px;
}

.beokids-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--ink);
  background: linear-gradient(90deg, rgba(255, 231, 122, 0.42), rgba(142, 230, 167, 0.18));
}

.beokids-accordion summary::-webkit-details-marker {
  display: none;
}

.beokids-accordion summary::after {
  content: "+";
  float: right;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #fff;
  border: 2px solid rgba(37, 48, 58, 0.1);
}

.beokids-accordion[open] summary::after {
  content: "-";
}

.beokids-milestone-accordion summary {
  background: #ad252c;
  color: #fff;
}

.beokids-milestone-accordion summary::after {
  color: var(--ink);
}

.beokids-accordion > label,
.beokids-accordion > .beokids-field,
.beokids-accordion > .beokids-entry-list,
.beokids-accordion > .button,
.beokids-accordion > .beokids-section-tools,
.beokids-accordion > .beokids-section-save,
.beokids-accordion > .beokids-help-button {
  margin: 22px 26px;
}

.beokids-label-row,
.beokids-section-tools,
.beokids-section-save {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.beokids-label-row {
  justify-content: flex-start;
}

.beokids-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.beokids-child-picker {
  margin-top: 18px;
}

.beokids-child-card {
  text-decoration: none;
}

.beokids-date-with-age {
  display: grid;
  gap: 8px;
}

.beokids-date-row {
  display: grid;
  grid-template-columns: minmax(220px, 360px) auto;
  align-items: center;
  gap: 12px;
}

.beokids-date-row strong {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(142, 232, 166, 0.26);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 950;
}

.beokids-checkbox-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.beokids-checkbox-grid label {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 999px;
  background: #fffdf7;
}

.beokids-checkbox-grid input {
  width: 20px;
  min-width: 20px;
  min-height: 20px;
}

.beokids-milestone-table {
  margin: 22px 26px;
  overflow: hidden;
  border: 1px solid rgba(70, 43, 36, 0.28);
  border-radius: 4px;
  background: #f7d8c3;
}

.beokids-milestone-table + .beokids-milestone-table {
  margin-top: 18px;
}

.beokids-milestone-table.tone-1 {
  --milestone-row: #f8d8c2;
  --milestone-row-alt: #f4ceb5;
  --milestone-head: #ba4b3e;
  --milestone-head-dark: #ad252c;
}

.beokids-milestone-table.tone-2 {
  --milestone-row: #c4c9df;
  --milestone-row-alt: #b9bfd6;
  --milestone-head: #ba4b3e;
  --milestone-head-dark: #ad252c;
}

.beokids-milestone-table.tone-3 {
  --milestone-row: #d8ead1;
  --milestone-row-alt: #cce1c4;
  --milestone-head: #5e9e59;
  --milestone-head-dark: #357a49;
}

.beokids-milestone-table.tone-4 {
  --milestone-row: #d5e7ef;
  --milestone-row-alt: #c7dce6;
  --milestone-head: #4f93ad;
  --milestone-head-dark: #286e8d;
}

.beokids-milestone-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 256px;
  align-items: stretch;
  background: var(--milestone-head);
  color: #fff;
}

.beokids-milestone-head h3 {
  margin: 0;
  padding: 12px 18px;
  background: var(--milestone-head);
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 950;
}

.beokids-milestone-status-head {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--milestone-head-dark);
}

.beokids-milestone-status-head span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.05;
}

.beokids-milestone-list {
  display: grid;
}

.beokids-milestone-row {
  display: grid;
  grid-template-columns: 70px minmax(260px, 1fr) 256px;
  align-items: stretch;
  border-top: 1px solid rgba(70, 43, 36, 0.28);
  background: var(--milestone-row);
}

.beokids-milestone-row:nth-child(even) {
  background: var(--milestone-row-alt);
}

.beokids-milestone-code {
  display: flex;
  align-items: flex-start;
  padding: 12px 8px;
  border-right: 1px solid rgba(70, 43, 36, 0.25);
  color: #0f1720;
  font-size: 0.98rem;
  font-weight: 950;
}

.beokids-milestone-copy {
  display: grid;
  gap: 3px;
  padding: 10px 12px 12px;
}

.beokids-milestone-copy strong {
  color: #0f1720;
  font-size: 0.98rem;
  font-weight: 950;
}

.beokids-milestone-copy p {
  margin: 0;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.28;
}

.beokids-milestone-status {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  border: 0;
  margin: 0;
  padding: 0;
}

.beokids-milestone-status label {
  width: auto;
  display: grid;
  place-items: center;
  min-height: 64px;
  border-left: 1px solid rgba(70, 43, 36, 0.25);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.beokids-milestone-status input {
  appearance: none;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border: 3px solid #7f8790;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 47%, transparent 49%),
    linear-gradient(135deg, #ffffff, #dfe5ed);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9), 0 2px 4px rgba(37, 48, 58, 0.18);
  cursor: pointer;
}

.beokids-milestone-status input:checked {
  border-color: var(--orange);
  background:
    radial-gradient(circle at 50% 50%, var(--orange) 0 42%, transparent 44%),
    linear-gradient(135deg, #ffffff, #dfe5ed);
}

.beokids-milestone-status label.is-active {
  background: rgba(255, 255, 255, 0.26);
}

.beokids-autosave-state {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0 12px 10px 82px;
  color: rgba(37, 48, 58, 0.7);
  font-size: 0.8rem;
  font-weight: 950;
}

.beokids-autosave-state.is-saving {
  color: #b7791f;
}

.beokids-autosave-state.is-saved {
  color: #1f8b4c;
}

.beokids-autosave-state.is-error {
  color: #b91c1c;
}

.beokids-section-save {
  justify-content: flex-end;
}

.beokids-help-button {
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 8px 16px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.beokids-help-button:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.beokids-entry-list {
  display: grid;
  gap: 18px;
}

.beokids-entry {
  border: 2px dashed rgba(37, 48, 58, 0.14);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.beokids-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.beokids-entry-head span {
  font-weight: 900;
  color: var(--muted);
}

.beokids-entry-head label {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.beokids-entry textarea {
  width: 100%;
}

.beokids-entry-date {
  display: grid;
  gap: 6px;
  max-width: 240px;
  margin-bottom: 14px;
}

.beokids-entry-date span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.beokids-observation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-nav-card.is-disabled {
  opacity: 0.64;
  pointer-events: none;
}

.beokids-help-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(37, 48, 58, 0.36);
}

.beokids-help-modal[hidden] {
  display: none;
}

.beokids-help-dialog {
  width: min(680px, 100%);
  max-height: min(82vh, 720px);
  overflow: auto;
  border: 2px solid rgba(37, 48, 58, 0.12);
  border-radius: 18px;
  background: #fffdf7;
  box-shadow: 0 30px 80px rgba(37, 48, 58, 0.22);
  padding: 24px;
}

.beokids-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.beokids-help-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.beokids-help-dialog ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .beokids-observation-card {
    align-items: stretch;
    flex-direction: column;
  }

  .beokids-accordion summary {
    padding: 18px;
  }

  .beokids-accordion > label,
  .beokids-accordion > .beokids-field,
  .beokids-accordion > .beokids-entry-list,
  .beokids-accordion > .button,
  .beokids-accordion > .beokids-section-tools,
  .beokids-accordion > .beokids-section-save,
  .beokids-accordion > .beokids-help-button {
    margin: 18px;
  }

  .beokids-help-modal {
    padding: 12px;
  }

  .beokids-date-row {
    grid-template-columns: 1fr;
  }

  .beokids-milestone-table {
    margin: 18px;
  }

  .beokids-milestone-head {
    grid-template-columns: 1fr;
  }

  .beokids-milestone-status-head {
    display: none;
  }

  .beokids-milestone-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .beokids-milestone-status {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(70, 43, 36, 0.25);
  }

  .beokids-milestone-status label {
    min-height: 52px;
  }

  .beokids-milestone-status label::before {
    content: attr(data-short-label);
    display: block;
    margin-bottom: 4px;
    color: rgba(17, 24, 39, 0.76);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
  }

  .beokids-milestone-status input {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }

  .beokids-autosave-state {
    padding-left: 12px;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar h1 {
    font-size: clamp(1.2rem, 7.5vw, 2.05rem);
  }

  .admin-topbar nav,
  .admin-topbar nav .button {
    width: 100%;
  }

  .admin-topbar nav,
  .admin-topbar nav.admin-mini-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    max-width: none;
  }

  .admin-topbar nav > :not(.button) {
    grid-column: 1 / -1;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .admin-topbar nav .button,
  .admin-topbar nav.admin-mini-nav .button {
    min-width: 0;
    min-height: 44px;
    padding: 10px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .admin-panel {
    padding: 16px;
  }

  .admin-panel h2 {
    font-size: clamp(1.45rem, 8vw, 2.35rem);
    line-height: 1.05;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-nav-grid {
    grid-template-columns: 1fr;
  }

  .admin-nav-card {
    min-height: 132px;
    padding: 16px;
  }

  .admin-nav-card strong {
    max-width: 100%;
    font-size: clamp(1.15rem, 6vw, 1.55rem);
  }

  .admin-search {
    grid-template-columns: 1fr;
  }

  .admin-search .button {
    width: 100%;
  }

  .admin-def-list {
    grid-template-columns: 1fr;
  }

  .admin-login-card {
    padding: 24px;
  }

  .system-settings-form {
    grid-template-columns: 1fr;
  }

  .system-event-color-row {
    grid-template-columns: 1fr;
  }

  .cleanup-intro-panel {
    display: grid;
  }

  .cleanup-rule-grid {
    grid-template-columns: 1fr;
  }

  .cleanup-month-field {
    grid-template-columns: 1fr;
  }

  .system-form-actions .button {
    width: 100%;
  }

  .infobot-intent-card {
    grid-template-columns: 1fr;
  }

  .infobot-form-actions .button,
  .admin-language-tabs .button {
    width: 100%;
  }

  .portal-login-page,
  .portal-grid,
  .portal-admin-form {
    grid-template-columns: 1fr;
  }

  .saas-kita-module-row {
    grid-template-columns: 1fr;
  }

  .saas-module-checks {
    display: grid;
  }

  .portal-detail-grid {
    grid-template-columns: 1fr;
  }

  .portal-topbar {
    flex-direction: column;
  }

  .portal-topbar nav,
  .portal-form .button,
  .portal-admin-form .button {
    width: 100%;
  }

  .portal-topbar nav .button:not(.portal-icon-button) {
    width: 100%;
  }

  .portal-topbar nav .portal-icon-button {
    width: 48px;
  }

  .portal-language-tools,
  .portal-language-tools .language-switch {
    width: 100%;
  }

  .portal-language-tools .auto-translate-panel {
    right: auto;
    left: 0;
  }

  .portal-admin-row {
    grid-template-columns: 1fr;
  }

  .admin-child-row {
    grid-template-columns: 1fr;
  }

  .portal-calendar-grid,
  .portal-calendar-grid.is-year {
    grid-template-columns: 1fr;
  }

  .portal-calendar-day {
    display: grid;
    min-height: 48px;
    align-content: start;
    gap: 4px;
    padding: 5px;
    cursor: pointer;
  }

  .portal-calendar-day strong {
    margin-bottom: 2px;
    font-size: 0.82rem;
  }

  .portal-calendar-day.has-events {
    background: #fffdf7;
    box-shadow: inset 0 0 0 2px rgba(37, 48, 58, 0.04);
  }

  .portal-calendar-day.has-events::after {
    content: "Tippen";
    display: block;
    margin-top: 1px;
    color: rgba(37, 48, 58, 0.42);
    font-size: 0.48rem;
    font-weight: 950;
    line-height: 1;
  }

  .portal-calendar-event {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: 1px 2px 0 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: var(--event-color, #8ee6a7);
    color: transparent;
    font-size: 0;
    line-height: 0;
    vertical-align: top;
  }

  .portal-calendar-day em {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 999px;
    background: #ffe77a;
    color: var(--ink);
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 950;
  }

  .portal-account-filters {
    grid-template-columns: 1fr;
  }

  .portal-account-filters .button {
    width: 100%;
  }

  .portal-document-grid,
  .portal-document-upload-fields,
  .admin-doc-parent-search,
  .portal-gallery-intro,
  .portal-document-row {
    grid-template-columns: 1fr;
  }

.portal-document-upload-actions .button {
  width: 100%;
}

.portal-profile-list {
  margin-top: 18px;
}

.portal-profile-list dd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-profile-form {
  margin-top: 22px;
}

.portal-check-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background: #fffdf7;
  font-weight: 900;
}

.portal-muted {
  display: block;
  color: rgba(37, 48, 58, 0.62);
  font-weight: 800;
}

.portal-lightbox-head {
  align-items: stretch;
  flex-direction: column;
}

  .portal-lightbox-head > div,
  .portal-lightbox-head .button {
    width: 100%;
  }
}

.demo-login-shell {
  display: grid;
  min-height: calc(100vh - 140px);
  place-items: center;
}

.demo-login-panel {
  width: min(860px, 100%);
  padding: clamp(28px, 5vw, 56px);
  border: 2px solid rgba(37, 48, 58, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 253, 247, 0.82)),
    url("assets/images/playground.jpeg") center / cover;
  box-shadow: 0 24px 60px rgba(37, 48, 58, 0.12);
}

.demo-login-panel h1 {
  max-width: 680px;
  margin: 0;
  color: var(--orange);
  font-size: clamp(3rem, 10vw, 6.6rem);
  line-height: 0.95;
}

.demo-login-panel p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.45;
}

.demo-login-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.demo-login-button {
  width: 100%;
  min-height: 118px;
  padding: 20px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(37, 48, 58, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.demo-login-button:hover,
.demo-login-button:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 42px rgba(37, 48, 58, 0.18);
  filter: saturate(1.05);
}

.demo-login-button.is-parent {
  background: #8ee6a7;
}

.demo-login-button.is-teacher {
  background: #8ed8ff;
}

.demo-login-button.is-admin {
  background: #ffe77a;
}

@media (max-width: 720px) {
  .demo-login-shell {
    min-height: 0;
    padding-top: 116px;
  }

  .demo-login-actions {
    grid-template-columns: 1fr;
  }

  .demo-login-button {
    min-height: 82px;
  }
}

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

  .motion-ready .reveal,
  .motion-ready .hero-copy-block > * {
    opacity: 1;
    translate: none;
  }

  .hero-collage {
    transform: none;
  }
}
