:root {
  --color-primary: #2f80ed;
  --color-accent: #ff965c;
  --color-bg: #f8fbff;
  --color-surface: #ffffff;
  --color-text: #1f2937;
  --color-muted: #64748b;
  --color-border: #dde8f5;
  --color-blue-soft: #eaf3ff;
  --color-peach-soft: #fff0e8;
  --shadow-soft: 0 18px 55px rgba(47, 128, 237, 0.12);
  --radius-card: 8px;
  --radius-control: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.55;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(221, 232, 245, 0.82);
  background: rgba(248, 251, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand,
.top-nav,
.header-actions,
.hero-actions,
.footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  color: var(--color-primary);
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.top-nav {
  gap: 22px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a:hover,
.ghost-link:hover {
  color: var(--color-primary);
}

.header-actions {
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--color-primary);
  color: white;
}

.btn.secondary {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
}

.btn.wide {
  width: 100%;
}

.ghost-link {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 800;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 76px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: 52px;
  align-items: center;
  min-height: auto;
  padding-top: 46px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 760px;
  font-size: 58px;
}

h2 {
  font-size: 40px;
}

h3 {
  margin: 0;
  font-size: 18px;
}

.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 20px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-mascots {
  position: relative;
  min-height: 470px;
  display: grid;
  align-content: end;
  justify-items: center;
  padding: 18px 22px 24px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(234, 243, 255, 0.72), rgba(255, 240, 232, 0.74));
  overflow: hidden;
}

.hero-mascots img {
  width: min(100%, 470px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(47, 128, 237, 0.16));
}

.hero-mascots picture {
  display: grid;
  justify-items: center;
  width: 100%;
}

.mascot-caption {
  display: grid;
  gap: 4px;
  width: min(100%, 420px);
  margin-top: -18px;
  padding: 16px 18px;
  border: 1px solid rgba(221, 232, 245, 0.9);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.mascot-caption strong {
  color: var(--color-text);
  font-size: 20px;
}

.mascot-caption span,
.section-text,
.section-heading p:not(.eyebrow),
.value-list span,
.product-grid span,
.auth-cta p,
.auth-card-link span,
.footer {
  color: var(--color-muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.wide-heading {
  max-width: 100%;
}

.section-text {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 18px;
}

.partners-accent {
  max-width: 620px;
  margin-top: 0;
  color: var(--color-text);
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 800;
  line-height: 1.18;
}

.product-grid,
.potential-grid,
.value-list,
.safety-grid,
.auth-actions {
  display: grid;
  gap: 16px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid article,
.value-list article,
.safety-grid span,
.auth-card-link {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.product-grid article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 20px;
}

.product-grid strong,
.auth-card-link strong {
  font-size: 18px;
}

.potential-section {
  padding-top: 36px;
}

.potential-section .section-heading {
  max-width: 1080px;
}

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

.potential-grid article {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.potential-grid picture {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-blue-soft);
}

.potential-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.potential-grid article div {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.potential-grid strong {
  font-size: 20px;
}

.potential-grid span {
  color: var(--color-muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.blue-band,
.peach-band {
  max-width: 1228px;
  border-radius: var(--radius-card);
}

.blue-band {
  background: linear-gradient(135deg, rgba(234, 243, 255, 0.95), rgba(255, 255, 255, 0.76));
}

.peach-band {
  background: linear-gradient(135deg, rgba(255, 240, 232, 0.95), rgba(255, 255, 255, 0.78));
}

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

.value-list article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.safety-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.safety-grid span {
  padding: 18px;
  font-weight: 800;
}

.auth-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 1228px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--color-primary), #5aa4ff);
  color: white;
}

.auth-cta .eyebrow,
.auth-cta p {
  color: rgba(255, 255, 255, 0.84);
}

.auth-card-link {
  display: grid;
  gap: 8px;
  padding: 22px;
  color: var(--color-text);
}

.auth-card-link.primary-card {
  border-color: rgba(255, 150, 92, 0.52);
  background: var(--color-peach-soft);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 56px;
  border-top: 1px solid var(--color-border);
}

.footer strong {
  color: var(--color-text);
}

.footer-email {
  display: inline-block;
  margin-top: 8px;
  color: var(--color-primary);
  font-weight: 700;
}

.footer nav {
  display: grid;
  gap: 6px;
  min-width: 150px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  justify-items: start;
}

.auth-footer {
  display: block;
  max-width: var(--container);
  padding-top: 30px;
}

.register-shell + .auth-footer {
  max-width: 1120px;
}

.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(234, 243, 255, 0.92), rgba(255, 240, 232, 0.72) 52%, rgba(248, 251, 255, 0.98));
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 24px;
}

.auth-shell {
  display: block;
  max-width: var(--container);
  margin: 0 auto;
  padding: 34px 24px 72px;
}

.register-shell {
  max-width: var(--container);
}

.compact-auth-shell {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.auth-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.auth-panel {
  padding: 34px;
}

.auth-visual-panel {
  min-height: calc(100vh - 230px);
  padding: 0;
  overflow: hidden;
}

.auth-content {
  position: relative;
  min-height: calc(100vh - 230px);
  padding: 44px;
}

.register-content {
  min-height: calc(100vh - 230px);
}

.auth-form-side {
  min-width: 0;
  width: 100%;
}

.auth-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 34px;
}

.auth-visual img {
  display: block;
  width: min(28vw, 330px);
  max-height: 300px;
  object-fit: contain;
  object-position: center;
}

.register-visual img {
  width: min(30vw, 360px);
  max-height: 320px;
}

.auth-intro {
  margin-bottom: 0;
}

.auth-intro h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.auth-intro p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 18px;
}

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

.reset-form {
  margin-top: 10px;
}

.auth-visual-panel .auth-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.auth-visual-panel .auth-form > .esia-button,
.auth-visual-panel .auth-form > .auth-divider,
.auth-visual-panel .auth-form > .segmented-control,
.auth-visual-panel .auth-form > .identity-options,
.auth-visual-panel .auth-form > .contact-note {
  grid-column: 1 / -1;
}

.login-panel .auth-form > * {
  grid-column: 1 / -1;
}

.auth-visual-panel .identity-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.segmented-control,
.role-grid,
.identity-options {
  display: grid;
  gap: 8px;
}

.segmented-control {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-bg);
}

.segment {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-muted);
  font-weight: 800;
}

.segment.is-active {
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(47, 128, 237, 0.1);
}

.form-field {
  display: grid;
  gap: 8px;
  color: var(--color-text);
  font-weight: 800;
}

.form-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0 14px;
}

.form-field input:focus {
  border-color: rgba(47, 128, 237, 0.72);
  outline: 3px solid rgba(47, 128, 237, 0.14);
}

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

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--color-muted);
  font-size: 14px;
}

.form-row a {
  color: var(--color-primary);
  font-weight: 800;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.4;
}

.checkbox-line input,
.role-grid input {
  accent-color: var(--color-primary);
}

.role-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.role-grid label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 800;
}

.role-grid label:has(input:checked) {
  border-color: rgba(255, 150, 92, 0.62);
  background: var(--color-peach-soft);
  color: var(--color-text);
}

.esia-button {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 66px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 128, 237, 0.34);
  border-radius: var(--radius-control);
  background: linear-gradient(135deg, var(--color-primary), #5aa4ff);
  color: white;
  text-align: left;
  font-weight: 800;
}

.esia-button small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.esia-button span,
.identity-options .esia-button span {
  color: white;
}

.identity-options .esia-button small {
  color: rgba(255, 255, 255, 0.82);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--color-border);
}

.identity-options article,
.contact-note {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.identity-options article strong,
.contact-note strong {
  color: var(--color-text);
  font-size: 18px;
}

.identity-options article span,
.contact-note span {
  color: var(--color-muted);
}

.contact-note {
  border-color: rgba(255, 150, 92, 0.44);
  background: var(--color-peach-soft);
}

.is-hidden {
  display: none;
}

.app-page {
  min-height: 100vh;
  background: var(--color-bg);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(24px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(221, 232, 245, 0.86);
  background: rgba(248, 251, 255, 0.94);
  backdrop-filter: blur(18px);
}

.app-header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 800;
}

.app-header-nav a[aria-current="page"] {
  color: var(--color-primary);
}

.app-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px;
}

.app-sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  align-content: start;
  gap: 6px;
  height: max-content;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.app-sidebar a {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--radius-control);
  color: var(--color-muted);
  font-weight: 800;
}

.app-sidebar a.is-active,
.app-sidebar a:hover {
  background: var(--color-blue-soft);
  color: var(--color-primary);
}

.app-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.profile-hero,
.home-hero,
.profile-card,
.dashboard-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px;
}

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

.home-hero h1 {
  max-width: 900px;
  font-size: clamp(36px, 4.6vw, 56px);
}

.home-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 19px;
}

.child-hero {
  background: linear-gradient(135deg, rgba(255, 240, 232, 0.88), rgba(255, 255, 255, 0.94));
}

.adult-hero {
  background: linear-gradient(135deg, rgba(234, 243, 255, 0.92), rgba(255, 255, 255, 0.96));
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: 30px;
  font-weight: 800;
}

.adult-hero .profile-avatar {
  background: var(--color-accent);
}

.profile-hero h1 {
  font-size: clamp(34px, 4.2vw, 52px);
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.profile-meta span {
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
}

.card-label,
.panel-heading a {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

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

.adult-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.adult-capabilities {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 176px;
  padding: 20px;
  box-shadow: none;
}

.profile-card strong {
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.2;
}

.profile-card p {
  margin: 0;
  color: var(--color-muted);
}

.compact-card {
  min-height: 142px;
}

.progress-track {
  height: 12px;
  border-radius: 999px;
  background: var(--color-blue-soft);
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.content-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 16px;
  align-items: start;
}

.adult-columns {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
}

.single-column {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  box-shadow: none;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-heading h2 {
  font-size: 26px;
}

.task-list,
.safe-list,
.activity-list,
.recommendation-grid {
  display: grid;
  gap: 10px;
}

.task-list article,
.safe-list span,
.activity-list span,
.recommendation-grid article,
.featured-progress {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-bg);
}

.task-list article strong {
  color: var(--color-text);
}

.task-list article span,
.safe-list span,
.activity-list span,
.recommendation-grid article p,
.featured-progress p {
  color: var(--color-muted);
}

.activity-list span strong,
.recommendation-grid article strong,
.featured-progress strong {
  color: var(--color-text);
}

.featured-progress {
  gap: 14px;
}

.recommendation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .top-nav {
    display: none;
  }

  .site-header.menu-open .top-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero,
  .split-section,
  .auth-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .product-grid,
  .potential-grid,
  .safety-grid,
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-content,
  .register-content {
    min-height: auto;
  }

  .auth-topline {
    align-items: flex-end;
    gap: 22px;
  }

  .auth-visual img,
  .register-visual img {
    width: min(34vw, 220px);
    max-height: 220px;
  }

  .auth-visual-panel .identity-options {
    grid-template-columns: 1fr;
  }

  .app-shell,
  .profile-hero,
  .home-hero,
  .content-columns,
  .adult-columns {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .app-sidebar a {
    white-space: nowrap;
  }

  .profile-grid,
  .dashboard-kpi-grid,
  .adult-kpi-grid,
  .adult-capabilities,
  .recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .brand span,
  .header-actions .ghost-link {
    display: none;
  }

  .section {
    padding: 54px 16px;
  }

  .hero {
    gap: 28px;
    padding-top: 34px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 17px;
  }

  .product-grid,
  .potential-grid,
  .value-list,
  .safety-grid,
  .form-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .product-grid article,
  .potential-grid article div,
  .value-list article,
  .auth-card-link {
    padding: 18px;
  }

  .hero-mascots {
    min-height: auto;
    padding: 14px 14px 20px;
  }

  .hero-mascots img {
    width: min(100%, 360px);
  }

  .mascot-caption {
    margin-top: -8px;
  }

  .footer {
    display: grid;
  }

  .auth-header {
    padding: 16px;
  }

  .auth-shell {
    padding: 20px 16px 54px;
  }

  .auth-panel {
    padding: 22px;
  }

  .auth-visual-panel {
    padding: 0;
  }

  .auth-content,
  .register-content {
    padding: 22px;
  }

  .auth-topline {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
  }

  .auth-visual img,
  .register-visual img {
    justify-self: center;
    width: min(100%, 260px);
    max-height: 260px;
  }

  .auth-visual-panel .auth-form {
    grid-template-columns: 1fr;
  }

  .form-row {
    display: grid;
    justify-content: stretch;
  }

  .app-header {
    display: grid;
    padding: 12px 16px;
  }

  .app-header-nav {
    overflow-x: auto;
  }

  .app-shell {
    padding: 16px;
  }

  .profile-grid,
  .dashboard-kpi-grid,
  .adult-kpi-grid,
  .adult-capabilities,
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .profile-hero,
  .home-hero,
  .profile-card,
  .dashboard-panel {
    padding: 18px;
  }
}
