/* RealtyLab / The Modern Workbench / v1.0
   Map into the existing app's design system; do not blindly replace its globals.
   Fonts are relative to this file. Keep OFL notices with the font assets. */
@font-face {
  font-family: 'Unbounded'; src: url('./fonts/Unbounded-Variable.woff') format('woff');
  font-style: normal; font-weight: 200 900; font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3'; src: url('./fonts/SourceSans3-Variable.woff') format('woff');
  font-style: normal; font-weight: 200 900; font-display: swap;
}
:root {
  --rl-brand: #F14C32;
  --rl-steel: #537D91;
  --rl-ink: #242424;
  --rl-app: #C63821;
  --rl-app-hover: #A92E1B;
  --rl-directory: #3E6375;
  --rl-directory-hover: #304E5D;
  --rl-paper: #FAFAF7;
  --rl-surface: #FFFFFF;
  --rl-text: #242424;
  --rl-muted: #5B6268;
  --rl-border: #E7E9E8;
  --rl-control-border: #787F83;
  --rl-apps-tint: #FFF0EC;
  --rl-directory-tint: #EDF3F6;
  --rl-success: #176B45;
  --rl-warning: #825500;
  --rl-error: #A51D2D;
  --rl-font-heading: 'Unbounded', system-ui, sans-serif;
  --rl-font-body: 'Source Sans 3', system-ui, sans-serif;
  --rl-space-1: 4px; --rl-space-2: 8px; --rl-space-3: 12px;
  --rl-space-4: 16px; --rl-space-5: 24px; --rl-space-6: 32px;
  --rl-space-7: 48px; --rl-space-8: 64px; --rl-space-9: 96px;
  --rl-radius-control: 4px; --rl-radius-card: 6px;
  --rl-container: 1200px;
  --rl-shadow: 0 4px 16px rgb(20 38 61 / 6%);
  --rl-duration: 150ms;
}
.rl-page { background: var(--rl-paper); color: var(--rl-text); font: 400 18px/1.55 var(--rl-font-body); }
.rl-container { width: min(calc(100% - 48px), var(--rl-container)); margin-inline: auto; }
.rl-display { font: 700 clamp(32px, 4.5vw, 52px)/1.12 var(--rl-font-heading); letter-spacing: -.025em; }
.rl-h1 { font: 700 clamp(28px, 4vw, 40px)/1.18 var(--rl-font-heading); letter-spacing: -.02em; }
.rl-h2 { font: 700 clamp(24px, 3vw, 28px)/1.25 var(--rl-font-heading); }
.rl-h3 { font: 600 24px/1.25 var(--rl-font-body); }
.rl-prose { max-width: 65ch; }
.rl-number { font-variant-numeric: tabular-nums; }
.rl-button {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 44px; padding: 10px 20px; border: 1px solid transparent;
  border-radius: var(--rl-radius-control); background: var(--rl-app); color: white;
  font: 600 16px/1.4 var(--rl-font-body); text-decoration: none; cursor: pointer;
  transition: background-color var(--rl-duration) ease;
}
.rl-button:hover { background: var(--rl-app-hover); }
.rl-button--directory { background: var(--rl-directory); }
.rl-button--directory:hover { background: var(--rl-directory-hover); }
.rl-button--secondary { background: white; color: var(--rl-ink); border-color: var(--rl-control-border); }
.rl-button--secondary:hover { background: var(--rl-apps-tint); }
.rl-button:disabled { background: #E7EBF0; color: var(--rl-muted); cursor: not-allowed; }
.rl-badge { display: inline-flex; padding: 4px 10px; border: 1px solid transparent; border-radius: 99px; font: 600 14px/1.4 var(--rl-font-body); }
.rl-badge--apps { color: var(--rl-app); background: var(--rl-apps-tint); }
.rl-badge--directory { color: var(--rl-directory); background: var(--rl-directory-tint); border-color: var(--rl-directory); }
.rl-card { padding: 24px; border: 1px solid var(--rl-border); border-radius: var(--rl-radius-card); background: white; }
.rl-input { box-sizing: border-box; min-height: 44px; padding: 10px 12px; background: white; color: var(--rl-text); border: 1px solid var(--rl-control-border); border-radius: var(--rl-radius-control); font: 400 16px/1.4 var(--rl-font-body); }
.rl-page :focus-visible { outline: 3px solid var(--rl-ink); outline-offset: 3px; box-shadow: 0 0 0 3px white; }
@media (max-width: 640px) { .rl-container { width: calc(100% - 40px); } }
@media (prefers-reduced-motion: reduce) { .rl-page *, .rl-page *::before, .rl-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.rl-link { color: var(--rl-directory); text-decoration: underline; text-underline-offset: .18em; }
.rl-product-provider { color: var(--rl-muted); font: 400 16px/1.4 var(--rl-font-body); }
.rl-card__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
