/* ============================================================
   Arim Real Estate · Sistema · Base
   ============================================================ */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { height: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body {
    margin: 0; height: 100%; overflow: hidden;
    font-family: var(--font-ui);
    -webkit-font-smoothing: antialiased;
  }
  /* Solo la familia: tamaño y color los fija cada componente nuevo, así los
     controles de los módulos sin migrar se ven igual que antes. */
  button, input, select, textarea { font-family: inherit; }
  button { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  a { color: inherit; text-decoration: none; }
  [hidden] { display: none !important; }
  :focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

  svg.i {
    width: 18px; height: 18px; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  }
  .num { font-variant-numeric: tabular-nums; }
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
}
