@import url("layout.css?v=20260904-subnav");
@import url("components.css?v=20260904-subnav");
@import url("pages.css?v=20260904-subnav");
@import url("responsive.css?v=20260904-subnav");
@import url("mobile.css?v=20260904-subnav");

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--border-strong) var(--canvas); }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body, button, a, input, select, textarea { touch-action: manipulation; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: rgb(194 84 80 / .14); }
a { color: inherit; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-weight: var(--weight-semibold); text-wrap: balance; }
h1 { margin-bottom: var(--space-3); font-size: var(--text-3xl); letter-spacing: var(--tracking-tight); line-height: var(--leading-tight); }
h2 { margin-bottom: var(--space-2); font-size: var(--text-xl); letter-spacing: -.015em; line-height: 1.25; }
h3 { margin-bottom: var(--space-2); font-size: var(--text-lg); }
p { margin-bottom: var(--space-4); }
small { display: block; color: var(--ink-muted); font-size: var(--text-xs); letter-spacing: .01em; line-height: 1.45; }
code { border-radius: var(--radius-xs); background: var(--surface-strong); padding: .15em .35em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }
:focus-visible { outline: 3px solid rgb(194 84 80 / .32); outline-offset: 3px; }
::selection { background: var(--primary-soft); color: var(--ink); }
.icon { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--ink-muted); }
.eyebrow { margin-bottom: var(--space-2); color: var(--ink-subtle); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); line-height: 1.2; text-transform: uppercase; }
.page-lead { max-width: 65ch; margin-bottom: 0; color: var(--ink-muted); font-size: var(--text-lg); line-height: 1.5; text-wrap: pretty; }
.number, .metric strong, .money-input { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: var(--space-3); left: var(--space-3); transform: translateY(-160%); border-radius: var(--radius-sm); background: var(--ink); color: #fff; padding: var(--space-2) var(--space-4); text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

/* Keep this after the inherited control font reset: iOS only skips focus zoom at 16 px+. */
@media (max-width: 780px) {
  input, select, textarea, [contenteditable="true"] { font-size: 16px; }
}

/* Combined tenant and lease creation. */
.rental-fields { border: 0; padding: 0; margin: 1.5rem 0 0; min-width: 0; }
/* Keep monetary amounts legible in the combined overview at laptop widths. */
@media (min-width: 1181px) and (max-width: 1600px) {
  .page-header--dashboard ~ .metric-strip--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-header--dashboard ~ .metric-strip--six .metric:nth-child(4) { border-left: 0; }
  .page-header--dashboard ~ .metric-strip--six .metric:nth-child(n+4) { border-top: 1px solid var(--border); }
}
