/* RealtyLab Modern Workbench. The supplied brand tokens remain the source of truth. */
:root {
  --paper: var(--rl-paper);
  --white: var(--rl-surface);
  --ink: var(--rl-ink);
  --muted: var(--rl-muted);
  --line: var(--rl-border);
  --soft: var(--rl-border);
  --sans: var(--rl-font-body);
  --radius: var(--rl-radius-card);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 var(--sans);
  font-synthesis: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px white;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.wrap {
  max-width: 1248px;
  margin: auto;
  padding: 0 24px;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  padding: 12px 0;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 220px;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 600;
}
.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.nav a:hover {
  color: var(--rl-app);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav button {
  border: 1px solid var(--rl-control-border);
  border-radius: 4px;
  background: white;
  color: var(--ink);
  padding: 10px 16px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 64px;
  padding: 64px 0 56px;
}
.hero h1 {
  font: 700 clamp(32px, 4.2vw, 52px) / 1.12 var(--rl-font-heading);
  letter-spacing: -0.025em;
  max-width: 700px;
  margin: 20px 0 0;
}
.hero-copy {
  font-size: 21px;
  color: var(--muted);
  max-width: 490px;
}
.hero-copy p {
  margin: 0 0 24px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.section-top h2 {
  font: 600 14px/1.4 var(--sans);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}
.section-top p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.offerings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.offering {
  --offering: var(--ink);
  --offering-tint: var(--soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--offering);
  border-radius: 0 0 6px 6px;
  background: white;
  display: flex;
  min-width: 0;
}
.offering.apps {
  --offering: var(--rl-app);
  --offering-tint: var(--rl-apps-tint);
}
.offering.directory {
  --offering: var(--rl-directory);
  --offering-tint: var(--rl-directory-tint);
}
.offering-body {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 32px;
  width: 100%;
}
.offering-kicker {
  font: 600 22px/1.3 var(--rl-font-heading);
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.tag {
  font-size: 14px;
  font-weight: 600;
  color: var(--offering);
  background: var(--offering-tint);
  border: 1px solid transparent;
  border-radius: 30px;
  padding: 3px 10px;
  margin: 0 0 12px;
}
.directory .tag {
  border-color: var(--rl-directory);
}
.offering h3 {
  font: 600 26px/1.25 var(--sans);
  margin: 0 0 6px;
}
.provider {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 18px;
}
.description {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 48ch;
}
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 16px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.features li:before {
  content: "✓";
  font-weight: 600;
  color: var(--offering);
}
.audience {
  font-size: 14px;
  color: var(--muted);
  margin: auto 0 24px;
  padding-top: 5px;
}
.launch {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  border-radius: 4px;
  padding: 10px 20px;
  background: var(--offering);
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.apps .launch:hover {
  background: var(--rl-app-hover);
}
.directory .launch:hover {
  background: var(--rl-directory-hover);
}
.future {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  margin: 8px 0 56px;
}
.future p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.future strong {
  color: var(--ink);
  font-weight: 600;
}
.link-button {
  background: none;
  border: 0;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  min-height: 44px;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 600;
}
.about {
  background: var(--ink);
  color: white;
  border-radius: 6px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
}
.about .eyebrow {
  color: var(--rl-border);
}
.about h2 {
  font: 600 28px/1.3 var(--rl-font-heading);
  letter-spacing: -0.025em;
  margin: 20px 0;
}
.about p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--rl-border);
  margin: 0 0 20px;
}
.about .byline {
  font-size: 16px;
  color: white;
  margin: 0;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 14px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .link-button {
  font-size: 14px;
  color: var(--muted);
}
.local-note {
  background: var(--rl-border);
  color: var(--rl-muted);
  text-align: center;
  font-size: 12px;
  padding: 6px 16px;
}
.local-note a {
  margin-left: 9px;
}
.empty {
  padding: 35px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 6px;
}
.loading {
  padding: 50px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--rl-app);
  color: white;
  border: 1px solid var(--rl-app);
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 16px;
  text-decoration: none;
  font-weight: 600;
}
.button.secondary {
  color: var(--rl-app);
  background: transparent;
  border-color: var(--rl-control-border);
}
.button.danger {
  background: var(--rl-apps-tint);
  color: var(--rl-error);
  border-color: var(--rl-error);
}
.button.small {
  padding: 6px 12px;
  min-height: 44px;
  font-size: 16px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 6px;
  max-width: 550px;
  width: calc(100% - 32px);
  background: var(--white);
  padding: 30px;
  color: var(--ink);
  max-height: 90dvh;
}
dialog::backdrop {
  background: #24242480;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.dialog-head h2 {
  font-family: var(--rl-font-body);
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 6px;
}
.close {
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  width: 44px;
  height: 44px;
}
.subtle {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  background: white;
  color: var(--ink);
  border: 1px solid var(--rl-control-border);
  border-radius: 5px;
  padding: 10px 12px;
  margin-top: 6px;
  min-height: 44px;
  font-size: 16px;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 22px;
}
.error {
  color: var(--rl-error);
  font-size: 14px;
  margin: 12px 0;
  white-space: pre-wrap;
}
.success {
  background: var(--rl-paper);
  border: 1px solid var(--rl-success);
  border-radius: 6px;
  padding: 14px;
  font-size: 16px;
}
.hidden {
  display: none !important;
}
.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  margin: 10px 0;
  font-size: 16px;
}
.check input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}
.checks {
  background: var(--soft);
  border-radius: 6px;
  padding: 12px 15px;
  margin-bottom: 16px;
}
.checks legend {
  font-size: 14px;
  font-weight: 600;
  padding: 0 5px;
}
.checks fieldset {
  border: 0;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 40px 0 27px;
}
.admin-top h1 {
  font-family: var(--rl-font-body);
  font-weight: 400;
  font-size: 40px;
  margin: 0;
}
.admin-top p {
  font-size: 14px;
  color: var(--muted);
  margin: 3px 0;
}
.admin-layout {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 35px;
  min-height: 500px;
  padding-bottom: 45px;
}
.side {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.side button {
  background: transparent;
  text-align: left;
  padding: 12px 16px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-size: 16px;
}
.side button[aria-current="page"] {
  background: var(--rl-app);
  color: white;
}
.panel {
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.panel-head h2 {
  font-size: 21px;
  font-weight: 500;
  margin: 0;
}
.panel-head p {
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0;
}
.panel-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 22px;
  margin-bottom: 15px;
}
.panel-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.panel-card p {
  font-size: 14px;
  margin: 8px 0;
  color: var(--muted);
}
.panel-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.pill {
  display: inline-block;
  border: 1px solid var(--rl-border);
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 14px;
  white-space: nowrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 6px;
}
.stat strong {
  display: block;
  font-family: var(--rl-font-body);
  font-size: 38px;
  font-weight: 400;
}
.stat span {
  font-size: 14px;
  color: var(--muted);
}
.notice {
  background: var(--soft);
  padding: 16px 20px;
  border-radius: 7px;
  font-size: 14px;
  margin: 0 0 20px;
  line-height: 1.8;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
}
th {
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
td strong {
  display: block;
  font-size: 16px;
}
td small {
  color: var(--muted);
}
.feedback-message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--ink) !important;
}
.status-select {
  width: auto;
  font-size: 14px;
  min-height: 44px;
  margin: 0;
  padding: 5px 10px;
}
.login {
  max-width: 460px;
  margin: 60px auto 100px;
}
.login h1 {
  font-family: var(--rl-font-body);
  font-size: 39px;
  font-weight: 400;
  line-height: 1.2;
}
.login .button {
  width: 100%;
}
.page-copy {
  max-width: 700px;
  padding: 45px 0 80px;
}
.page-copy h1 {
  font-family: var(--rl-font-body);
  font-size: 44px;
  font-weight: 400;
}
.page-copy p {
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rl-app);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 5px 20px #0002;
  z-index: 100;
  max-width: calc(100% - 30px);
}
#toast:empty {
  display: none;
}
.token-box {
  overflow-wrap: anywhere;
}
.tools-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.role-explainer {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.button {
  border-radius: 4px;
  font-size: 16px;
}
.button:hover {
  background: var(--rl-app-hover);
}
.button.secondary {
  color: var(--ink);
  background: white;
}
.button.secondary:hover {
  background: var(--rl-apps-tint);
}
.button.danger:hover {
  background: var(--rl-apps-tint);
}
input,
select,
textarea {
  font-size: 16px;
  border-radius: 4px;
}
input[type="checkbox"] {
  accent-color: var(--rl-app);
}
.admin-top h1 {
  font: 700 32px/1.2 var(--sans);
}
.dialog-head h2 {
  font: 700 28px/1.2 var(--sans);
}
.side button {
  font-size: 16px;
  min-height: 44px;
}
.side button[aria-current="page"] {
  background: var(--ink);
}
.panel-head h2 {
  font-size: 24px;
  font-weight: 600;
}
.panel-card h3 {
  font-size: 20px;
}
.stat strong {
  font-family: var(--sans);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.login h1,
.page-copy h1 {
  font: 700 32px/1.2 var(--rl-font-heading);
  letter-spacing: -0.025em;
}
.panel-card p,
.notice,
.role-explainer {
  font-size: 16px;
}
.success {
  color: var(--rl-success);
}
#toast {
  background: var(--ink);
}
.panel-card,
dialog {
  overflow-wrap: anywhere;
}
@media (max-width: 960px) {
  .hero {
    gap: 32px;
  }
  .hero-copy {
    font-size: 19px;
  }
  .nav {
    gap: 18px;
  }
  .brand img {
    width: 200px;
  }
  .about {
    gap: 32px;
    padding: 32px;
  }
  .offering-body {
    padding: 24px;
  }
  .admin-layout {
    grid-template-columns: 160px 1fr;
    gap: 24px;
  }
}
@media (max-width: 760px) {
  .header {
    flex-wrap: wrap;
    gap: 4px;
    padding: 18px 0 12px;
  }
  .brand img {
    width: 200px;
  }
  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  .hero {
    display: block;
    padding: 40px 0;
  }
  .hero h1 {
    font-size: 38px;
    max-width: 600px;
  }
  .desktop-break {
    display: none;
  }
  .hero-copy {
    margin-top: 24px;
    max-width: 600px;
  }
  .offerings {
    grid-template-columns: 1fr;
  }
  .offering-kicker {
    font-size: 24px;
  }
  .about {
    display: block;
  }
  .about h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .future {
    flex-direction: column;
    align-items: start;
    gap: 12px;
    margin-bottom: 32px;
  }
  .footer {
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }
  .admin-layout {
    display: block;
  }
  .side {
    flex-direction: row;
    overflow: auto;
    margin-bottom: 24px;
  }
  .side button {
    white-space: nowrap;
  }
  .panel-head {
    flex-wrap: wrap;
  }
  .panel-card header {
    flex-wrap: wrap;
  }
  .admin-top {
    align-items: start;
  }
  .admin-top h1 {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .wrap {
    padding: 0 20px;
  }
  .nav {
    gap: 4px 14px;
    font-size: 14px;
  }
  .nav button {
    font-size: 14px;
    padding: 8px 12px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-copy {
    font-size: 19px;
  }
  .section-top {
    align-items: start;
    gap: 16px;
  }
  .section-top h2 {
    font-size: 13px;
  }
  .section-top p {
    font-size: 12px;
    max-width: 100px;
  }
  .offering-body {
    padding: 24px;
  }
  .offering-kicker {
    font-size: 21px;
  }
  .offering h3 {
    font-size: 24px;
  }
  .features {
    display: block;
  }
  .features li {
    margin-bottom: 8px;
  }
  .launch {
    max-width: 100%;
    gap: 12px;
    padding: 10px 16px;
  }
  .about {
    padding: 28px 24px;
  }
  .about h2 {
    font-size: 22px;
    overflow-wrap: anywhere;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  dialog {
    padding: 24px;
  }
  .dialog-head {
    gap: 10px;
  }
  .dialog-head h2 {
    font-size: 26px;
  }
  .close {
    flex-shrink: 0;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 14px 10px;
  }
  .stat strong {
    font-size: 30px;
  }
  .stat span {
    font-size: 14px;
  }
  .admin-top {
    flex-wrap: wrap;
  }
  .login {
    margin: 40px 0 64px;
  }
  .footer-links {
    gap: 20px;
  }
  .local-note {
    font-size: 11px;
  }
  .login h1 {
    font-size: 28px;
  }
  .panel-head .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
