/* Minimal reset and layout shared by the panel and the portal. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; margin: 0 0 var(--space-3); }
a { color: var(--c-primary); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--c-primary); color: var(--c-on-primary); padding: 8px 16px; border-radius: var(--radius-sm); z-index: 1000; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lang-switch { display: inline-flex; gap: var(--space-1); margin: 0; }
.lang-switch button {
  font: inherit; font-size: 13px; background: none; border: 1px solid var(--c-border);
  border-radius: var(--radius-pill); padding: 2px 10px; cursor: pointer; color: var(--c-text-muted);
}
.lang-switch button[aria-current="true"] { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }

/* Portal: single phone-width column. */
.portal { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.portal__header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4); }
.portal__main { flex: 1; padding: 0 var(--space-4) var(--space-6); }
