@import url("./tokens.css");

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--omw-font-sans);
  background: var(--omw-bg);
  color: var(--omw-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

.screen {
  width: min(100%, 390px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: var(--omw-space-8) var(--omw-space-5) var(--omw-space-7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--omw-space-6);
}

.theme-toggle {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 20;
  border: 1px solid var(--omw-border);
  background: var(--omw-surface);
  color: var(--omw-text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--omw-border-strong);
}

/* Mobile shell helpers used by app screens */
body.has-tab-bar {
  overflow-x: hidden;
}
