/* Property Outlook — base reset + typography (Bundle 24 v0.2)
   Mockup-grounded density per property-outlook-desktop-user-v3.html:47-56.
   14px base font-size, Inter body, JetBrains Mono for inline code/numerics.
*/

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

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--f);
  background: var(--g50);
  color: var(--g700);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a {
  color: var(--brand);
  text-decoration: none;
  cursor: pointer;
}
a:hover { text-decoration: underline; }

code {
  font-family: var(--m);
  font-size: 0.88em;
  background: var(--g100);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--g700);
}

i[data-lucide] {
  width: 1em;
  height: 1em;
  stroke-width: 2;
  vertical-align: middle;
  flex-shrink: 0;
}

summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }

/* App container + loading state */
.app-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 14px;
  color: var(--g500);
  padding: 4rem 2rem;
}

.app-loading-pulse {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-glow);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50%      { opacity: 0.7; transform: scale(1.05); }
}

.app-error {
  max-width: 560px;
  margin: 4rem auto;
  padding: 24px;
  background: var(--w);
  border: 1px solid var(--g200);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.app-error h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--g900);
  margin-bottom: 8px;
}
.app-error p {
  font-size: 13px;
  color: var(--g600);
  line-height: 1.6;
}

/* Helper classes */
.muted { color: var(--g500); }
.subtle { color: var(--g400); font-size: 12px; }
.illus { color: var(--illus); font-style: italic; }
