.l-app-shell { min-height: 100dvh; display: flex; flex-direction: column; }
.l-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 0 max(20px, env(safe-area-inset-left));
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.l-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
  color: var(--text-soft);
  font-size: .9rem;
  white-space: nowrap;
}
.l-header__actions a,
.l-header__actions button {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 700;
}
.l-header__actions form { display: inline-flex; margin: 0; }
.l-header__actions button { appearance: none; padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.l-header__actions a:hover,
.l-header__actions button:hover { color: var(--text); }
.l-header__actions a:focus-visible,
.l-header__actions button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.l-header__actions .l-header__cta { padding:8px 14px; border-radius:999px; background:var(--brand); color:#fff; }
.l-header__actions .l-header__cta:hover { color:#fff; filter:brightness(.96); }
.l-header__actions .l-header__site-admin { padding: 7px 12px; border: 1px solid var(--brand); border-radius: 999px; color: var(--brand); }
.l-header__managed { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.l-header__managed strong { color: var(--text); }
.l-header__inline-form button { color: var(--brand); }
.l-header__separator { color: var(--line-strong, #9ca3af); }
.l-main {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: var(--space-7) 0;
  flex: 1;
  min-width: 0;
}
.l-footer {
  padding: 22px max(20px, env(safe-area-inset-left));
  color: var(--text-soft);
  font-size: .875rem;
  text-align: center;
}
@media (max-width: 760px) {
  .l-header { min-height: 60px; gap: 10px; }
  .l-header__actions { gap: 9px; font-size: .78rem; overflow-x: auto; scrollbar-width: none; }
  .l-header__actions::-webkit-scrollbar { display: none; }
  .l-header__actions a[href*="#features"], .l-header__actions a[href*="#schools"] { display:none; }
  .l-header__managed { max-width: 150px; }
  .l-main { width: min(calc(100% - 28px), var(--container)); padding: 32px 0; }
}
