:root {
  --color-white: #ffffff;
  --color-primary: #f99b31;
  --color-green: #59ba4b;
  --color-teal: #5398ae;
  --color-muted: #77787b;

  --color-bg: var(--color-white);
  --color-text: #1a1a1a;
  --color-text-muted: var(--color-muted);
  --color-border: #e8e8e8;

  --font-sans: "Poppins", system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.14);
  --nav-height: 72px;
  --footer-height: 48px;
}

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

html {
  font-size: 16px;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

body.menu-dialog-open {
  overflow: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.public-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.public-shell--screen {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.public-shell--scroll {
  min-height: 100vh;
  min-height: 100dvh;
}

.public-nav {
  flex-shrink: 0;
  min-height: var(--nav-height);
  padding: 0 1.5rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.public-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 1400px;
  min-height: var(--nav-height);
  margin-inline: auto;
}

.public-nav__primary,
.public-nav__secondary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.public-nav__primary a,
.public-nav__secondary a,
.public-nav__link-btn {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
}

.public-nav__auth-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
}

.public-nav__auth-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.public-nav__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.public-nav__drawer-nav .public-nav__auth-link {
  display: flex;
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
}

.public-nav__drawer-nav .public-nav__auth-link:hover {
  background: #fff8f0;
}

.public-nav__primary a:hover,
.public-nav__secondary a:hover,
.public-nav__link-btn:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.public-nav__link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.public-nav__logo {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}

.public-nav__logo img {
  display: block;
  height: 38px;
  width: auto;
}

.public-nav__logo:hover {
  opacity: 0.9;
}

/* Kun mobil – desktop-logo sitter i .public-nav__primary */
.public-nav__logo--mobile {
  display: none;
}

.public-nav__toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.45rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.public-nav__toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.public-nav-open .public-nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.public-nav-open .public-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

body.public-nav-open .public-nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.public-nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 26, 26, 0.45);
  backdrop-filter: blur(2px);
}

.public-nav__backdrop[hidden] {
  display: none;
}

.public-nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  width: min(300px, 88vw);
  background: var(--color-white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.14);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
}

.public-nav__drawer.is-open {
  transform: translateX(0);
}

.public-nav__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.public-nav__drawer-logo img {
  height: 34px;
  width: auto;
}

.public-nav__drawer-close {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: var(--radius-sm);
  background: #f4f4f4;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
}

.public-nav__drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.public-nav__drawer-nav a,
.public-nav__drawer-btn {
  display: block;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  text-align: left;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}

.public-nav__drawer-nav a:hover,
.public-nav__drawer-btn:hover {
  background: #fff8f0;
  color: var(--color-primary);
  text-decoration: none;
}

.public-nav__drawer-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0.5rem 1.25rem;
}

body.public-nav-open {
  overflow: hidden;
}

.public-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.public-footer {
  flex-shrink: 0;
  background: var(--color-primary);
}

.public-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  width: 100%;
  max-width: 1400px;
  min-height: var(--footer-height);
  margin-inline: auto;
  padding: 0.75rem 1.5rem;
}

.public-footer a {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.public-footer a:hover {
  text-decoration: underline;
  color: var(--color-white);
  opacity: 0.92;
}

.split-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.split-hero__left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2.25rem;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

/* Order wizard: centered when short; scrolls from top when tall (auto margins → 0) */
.split-hero__left--form {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.25rem 1.75rem;
}

/* Branded glass-style scrollbars */
.split-hero__left,
.portal-content,
.menu-dialog__body {
  scrollbar-width: thin;
  scrollbar-color: rgba(83, 152, 174, 0.5) transparent;
}

.split-hero__left::-webkit-scrollbar,
.portal-content::-webkit-scrollbar,
.menu-dialog__body::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

.split-hero__left::-webkit-scrollbar-track,
.portal-content::-webkit-scrollbar-track,
.menu-dialog__body::-webkit-scrollbar-track {
  background: rgba(83, 152, 174, 0.08);
  border-radius: 999px;
  margin: 6px 0;
}

.split-hero__left::-webkit-scrollbar-thumb,
.portal-content::-webkit-scrollbar-thumb,
.menu-dialog__body::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(83, 152, 174, 0.55) 0%,
    rgba(249, 155, 49, 0.5) 100%
  );
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background-clip: padding-box;
  box-shadow: 0 1px 4px rgba(83, 152, 174, 0.2);
}

.split-hero__left::-webkit-scrollbar-thumb:hover,
.portal-content::-webkit-scrollbar-thumb:hover,
.menu-dialog__body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(83, 152, 174, 0.75) 0%,
    rgba(249, 155, 49, 0.7) 100%
  );
}

.split-hero--register {
  grid-template-columns: minmax(0, 4fr) minmax(0, 1fr);
}

.split-hero--register .split-hero__left--register {
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.75rem 1.5rem;
}

.split-hero--register .split-hero__right {
  align-self: stretch;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.split-hero--register .split-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.split-hero__right {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #f0f0f0;
}

.split-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-center {
  text-align: center;
}

.split-hero__left--center {
  justify-content: center;
  text-align: center;
}

.split-hero__left--home {
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem 1.25rem;
  text-align: center;
}

.hero-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(480px, 100%);
  height: 100%;
  min-height: 0;
}

.hero-home .hero-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-panel {
  width: min(440px, 100%);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
  width: 100%;
  flex-shrink: 0;
}

.hero-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.hero-stat__value {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  flex-shrink: 0;
}

.hero-stat__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text-muted);
  text-align: left;
}

.hero-panel--center .hero-panel__actions {
  justify-content: center;
}

.hero-panel__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
}

.hero-panel__lead {
  margin: 0 0 2rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.hero-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel--empty {
  min-height: 120px;
}

.auth-panel {
  width: min(400px, 100%);
}

.auth-panel--register {
  width: min(38rem, 100%);
  margin-block: auto;
  flex-shrink: 0;
}

.auth-panel--register.auth-panel--narrow {
  width: min(30rem, 100%);
}

.auth-panel--register .auth-panel__title {
  font-size: 1.45rem;
}

.auth-panel--register .auth-panel__lead {
  margin-bottom: 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.auth-panel--register .auth-panel__footer {
  margin-top: 0.85rem;
  font-size: 0.88rem;
}

.auth-panel--register .auth-panel__section-title {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.auth-panel--register .auth-form-section {
  margin-bottom: 0.85rem;
  padding-bottom: 0;
  border-bottom: none;
}

.auth-panel--register .auth-form-section:last-of-type {
  margin-bottom: 0.5rem;
}

.auth-panel--register .form-group {
  margin-bottom: 0.6rem;
}

.auth-panel--register .form-row {
  gap: 0.65rem;
}

.auth-panel--register .form-control {
  padding: 0.5rem 0.65rem;
  font-size: 0.95rem;
}

.auth-panel--register .form-hint {
  font-size: 0.78rem;
}

.auth-panel--register .btn-block {
  margin-top: 0.25rem;
}

.auth-panel__section-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.auth-form-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.auth-form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

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

.form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.auth-panel__title {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.auth-panel__lead {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
}

.auth-panel__footer {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.legal-panel,
.contact-panel {
  width: min(640px, 100%);
  max-height: calc(100dvh - var(--nav-height) - var(--footer-height) - 2.5rem);
  overflow-y: auto;
  text-align: left;
  padding-right: 0.25rem;
}

.legal-panel__updated {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.legal-panel__section {
  margin-bottom: 1.25rem;
}

.legal-panel__section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.legal-panel__section p,
.legal-panel__section li {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text);
}

.legal-panel__section ul {
  margin: 0 0 0.65rem;
  padding-left: 1.25rem;
}

.legal-panel__subtitle {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.legal-panel__company {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  line-height: 1.55;
}

.legal-panel__company p {
  margin: 0;
}

.legal-panel__dl {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.legal-panel__dl dt {
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}

.legal-panel__dl dd {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
}

.contact-panel--center {
  text-align: center;
}

.contact-panel--center .contact-panel__detail {
  text-align: center;
}

.legal-panel__title,
.contact-panel__title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.legal-panel__lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.contact-panel__details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-panel__detail {
  margin: 0;
}

.contact-panel__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-teal);
  margin-bottom: 0.15rem;
}

.contact-panel__details a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
}

.contact-panel__details a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.contact-panel__form {
  margin-top: 0.5rem;
}

.contact-panel__form.text-left {
  text-align: left;
}

.form-control--compact {
  min-height: 0;
  resize: vertical;
  max-height: 6rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.form-check-input {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--color-primary);
}

.form-check-label {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  font-weight: 400;
}

.form-check-label a {
  color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s ease;
  font-family: inherit;
}

.btn:hover {
  filter: brightness(0.95);
  text-decoration: none;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

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

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

.btn-block {
  width: 100%;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 2px var(--color-primary);
}


.menu-dialog {
  width: min(640px, calc(100vw - 2rem));
  max-height: min(90vh, 780px);
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.menu-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.menu-dialog__inner {
  display: flex;
  flex-direction: column;
  max-height: min(90vh, 780px);
}

.menu-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  background: #fffaf5;
}

.menu-dialog__header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.menu-dialog__lead {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.menu-dialog__tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.75rem 1rem 0;
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  overflow-x: auto;
  flex-shrink: 0;
}

.menu-dialog__tab {
  flex: 1 1 0;
  min-width: 4.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: #f5f5f5;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  white-space: nowrap;
}

.menu-dialog__tab:hover {
  background: #fff8f0;
  color: var(--color-text);
}

.menu-dialog__tab.is-active {
  background: #fff;
  color: var(--color-teal);
  border-color: var(--color-border);
  box-shadow: inset 0 2px 0 var(--color-primary);
}

.menu-dialog__panel {
  display: none;
}

.menu-dialog__panel.is-active {
  display: block;
}

.menu-dialog__period {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.menu-dialog__badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-teal);
  background: rgba(83, 152, 174, 0.15);
  border-radius: var(--radius-sm);
  vertical-align: middle;
}

.menu-dialog__badge--current {
  color: #166534;
  background: rgba(34, 197, 94, 0.15);
}

.menu-dialog__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-muted);
}

.menu-dialog__close:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.menu-dialog__body {
  padding: 1rem 1.5rem 1.5rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.menu-dialog__empty {
  margin: 0;
  color: var(--color-text-muted);
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list__item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.menu-list__item:last-child {
  border-bottom: none;
}

.menu-list__date {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--color-teal);
  letter-spacing: 0.02em;
}

.menu-list__meal {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

.menu-list__desc {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: min(380px, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-white);
  background: var(--color-teal);
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  animation: toast-in 0.3s ease;
}

.toast--success {
  background: var(--color-green);
}

.toast--error {
  background: #d64541;
}

.toast--warning {
  background: var(--color-primary);
}

.toast--info {
  background: var(--color-teal);
}

.toast.is-hiding {
  animation: toast-out 0.2s ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(1rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(1rem);
  }
}

.site-header--app {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  padding: 0 1.5rem;
  background: var(--color-primary);
}

.site-header--app .site-nav a,
.site-header--app .site-brand {
  color: var(--color-white);
}

.site-brand img {
  display: block;
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--color-white);
  text-decoration: none;
}

.container {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

.site-main {
  padding: 2rem 0 3rem;
}

.portal-placeholder {
  padding: 2rem;
  border-left: 4px solid var(--color-primary);
  background: #fff8f0;
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  .public-shell--screen {
    height: auto;
    min-height: 100dvh;
  }

  .public-shell--screen:has(.split-hero--register) {
    height: 100dvh;
    overflow: hidden;
  }

  .split-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 280px;
  }

  .split-hero--register {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 6.5rem;
  }

  .split-hero--register .split-hero__left--register {
    padding: 0.75rem 1rem 1rem;
    min-height: 0;
    order: 1;
  }

  .split-hero--register .split-hero__right {
    order: 2;
    height: 6.5rem;
    min-height: 6.5rem;
  }

  .split-hero--register .auth-panel--register {
    width: min(34rem, 100%);
  }

  .split-hero--register .auth-panel--register.auth-panel--narrow {
    width: min(28rem, 100%);
  }

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

  .split-hero__left {
    padding: 1.5rem;
    order: 1;
  }

  .split-hero__left--home {
    padding: 1.25rem 1rem 1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 0.5rem;
  }

  .hero-stat__value {
    font-size: 1.35rem;
  }

  .hero-stat__label {
    font-size: 0.7rem;
  }

  .split-hero__right {
    order: 2;
    min-height: 280px;
  }

  .public-nav {
    padding: 0 1rem;
  }

  .public-nav__inner {
    min-height: 56px;
    gap: 0.75rem;
  }

  .public-nav__logo--mobile {
    display: flex;
    margin-right: 0;
  }

  .public-nav__primary,
  .public-nav__secondary {
    display: none;
  }

  .public-nav__toggle {
    display: flex;
    margin-left: auto;
  }

  .split-hero__left--form {
    padding: 1rem 1rem 1.5rem;
  }

  .split-hero__left--form .order-wizard {
    width: 100%;
    max-width: 36rem;
  }

  .toast-stack {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .contact-panel {
    padding: 0 0.25rem;
  }

  .hero-home__title {
    font-size: 1.65rem;
  }
}

@media (max-width: 480px) {
  .split-hero__right {
    min-height: 200px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .public-footer__inner {
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
  }
}
