body:has(#boot-shell > :is(.seo-home, .seo-public)) { margin: 0; }
:is(.seo-home, .seo-public) { box-sizing: border-box; }
.seo-home *, .seo-home *::before { box-sizing: border-box; }

.seo-public,
.seo-home {
  color: #203730;
  background: #f5f8f8;
  font-family: Tajawal, system-ui, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}
.seo-public {
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 5vw, 3rem);
}
.dark :is(.seo-home, .seo-public) {
  color: #e7f5eb;
  background: #10171b;
}
.seo-public h1 {
  margin: 0 0 .5em;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
}
:is(.seo-public, .seo-home) ul { padding-inline-start: 1.25rem; }
:is(.seo-public, .seo-home) ul a { color: inherit; text-decoration: underline; }

.seo-home {
  --surface: #f5f8f8;
  --gray-200: #dfe7e5;
  --gray-600: #465b55;
  --control-border: #71857e;
  --action-primary-fill: #004d28;
  --action-on-primary: #fff;
}
.dark .seo-home {
  --surface: #182227;
  --gray-200: #374843;
  --gray-600: #c0d2cc;
  --control-border: #778f86;
}
.seo-home-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--gray-200);
  background: var(--surface);
}
.seo-home-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 16px;
}
.seo-home-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #004d28;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
}
.dark .seo-home-brand { color: #e7f5eb; }
.seo-home-brand small { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; }
.seo-home-menu { position: relative; }
.seo-home-menu summary {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.seo-home-menu summary::-webkit-details-marker { display: none; }
.seo-home-menu nav {
  position: absolute;
  inset-inline-end: 0;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding-inline: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--surface);
}
.seo-home :is(h1, h2, p) { margin: 0; }
.seo-home .monthly-hero-content h1,
.seo-home-inventory h2 { font-family: 'Readex Pro', 'Tajawal', sans-serif; }
.seo-home .monthly-hero-content h1 { margin-block: 8px; }
.seo-home .monthly-hero-slogan { margin-block-start: 7px; }

.seo-home-field {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  align-self: stretch;
  gap: 6px;
}
.seo-home-field > span:first-child {
  color: var(--gray-600);
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 700;
}
.seo-home-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding-inline: 14px;
  border: 1px solid var(--control-border);
  border-radius: 12px;
  font-size: .875rem;
}
.seo-home-control:not(.seo-home-date)::after {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-inline-end: 1px solid currentColor;
  border-block-end: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.seo-home-control.seo-home-date { justify-content: center; }
.seo-home-search .seo-home-action {
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.5rem;
  text-decoration: none;
}
.seo-home-inventory {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-block: 20px 12px;
}
.seo-home-inventory h2 { font-size: 1rem; }
.seo-home-inventory a { color: inherit; font-weight: 700; font-size: .875rem; }
.seo-home-details { padding-block: 1rem; }
.seo-home-details p + p { margin-block-start: .5rem; }

@media (min-width: 640px) {
  .seo-home-header-row { padding-inline: 24px; }
}
@media (min-width: 1024px) {
  .seo-home-header-row { padding-inline: 32px; }
}
@media (max-width: 639px) {
  .seo-home-header-row { min-height: 56px; }
  .seo-home-brand small { display: none; }
  .seo-home-control { padding-inline: 10px; }
}
