/* Lintel website. Tokens mirror the app (lib/theme/app_theme.dart). */
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1e3ae0;
  --ink-strong: #1730bd;
  --paper: #f5f6fb;
  --surface: #ffffff;
  --text: #14162b;
  --muted: #5d6286;
  --border: #e1e4f5;
  --line: #c7ccf0;
  --coral: #ff6f5e;
  --coral-soft: #ffe6e2;
  --ok: #16a34a;
  --on-ink: #ffffff;
  --shadow: 0 1px 2px rgba(20, 22, 43, 0.06), 0 12px 32px rgba(30, 58, 224, 0.1);
  --radius: 18px;
  --head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #7c8cff;
    --ink-strong: #a3afff;
    --paper: #0e1030;
    --surface: #171a3d;
    --text: #edeefa;
    --muted: #a3a9d0;
    --border: #2b2f5c;
    --line: #3d4380;
    --coral: #ff8577;
    --coral-soft: #3a1f3a;
    --ok: #34d399;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
}

h1,
h2,
h3 {
  font-family: var(--head);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
h3 {
  font-size: 19px;
  font-weight: 700;
}
p {
  margin: 0 0 14px;
  text-wrap: pretty;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px dashed var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand svg {
  width: 32px;
  height: 32px;
  flex: none;
}
.brand-name {
  font-family: var(--head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand-by {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
}
.main-nav a:hover {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  padding: 15px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-primary:hover {
  background: var(--ink-strong);
}
@media (prefers-color-scheme: dark) {
  .btn-primary {
    color: #0e1030;
  }
}
.btn-nav {
  padding: 11px 18px;
  font-size: 15px;
}
.btn-light {
  background: #ffffff;
  color: #1e3ae0;
}
.btn-light:hover {
  background: #eef0ff;
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface);
}
.btn-outline:hover {
  border-color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #1e3ae0;
  color: #ffffff;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -46% auto;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 111, 94, 0.55), rgba(255, 111, 94, 0) 66%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 20, 120, 0.35), rgba(30, 58, 224, 0) 55%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: center;
  padding-top: 72px;
}
.hero-copy {
  padding-bottom: 72px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 34em;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.chips li {
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-phone {
  align-self: end;
  justify-self: center;
  width: min(430px, 100%);
}
.hero-phone img {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(8, 16, 90, 0.55));
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}
.section + .section {
  border-top: 1px dashed var(--line);
}
.section-head {
  max-width: 44rem;
  margin-bottom: 44px;
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 14px;
  margin-bottom: 0;
}
.kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 {
  margin: 14px 0 8px;
}
.card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  color: var(--ink);
}
.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-coral {
  background: var(--coral-soft);
  color: var(--coral);
}

/* Gallery */
.gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 20px 28px;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(20px, calc(50vw - 560px));
  scroll-padding-inline: max(20px, calc(50vw - 560px));
  -webkit-overflow-scrolling: touch;
}
.gallery:focus-visible {
  outline-offset: -3px;
}
.gallery figure {
  flex: 0 0 auto;
  width: min(270px, 70vw);
  margin: 0;
  scroll-snap-align: start;
}
.gallery img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.gallery figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.hint {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* AI split */
.split {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  justify-self: center;
  width: min(360px, 100%);
  overflow: hidden;
  border-radius: 28px 28px 0 0;
}
.split-media img {
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(30, 58, 224, 0.25));
}
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: #14162b;
  vertical-align: middle;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 16px;
}
.ticks li {
  position: relative;
  padding-left: 36px;
}
.ticks li strong {
  display: block;
  font-family: var(--head);
  font-size: 18px;
}
.ticks li span {
  color: var(--muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.note {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 15px;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 820px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.plan-pro {
  border: 2px solid var(--coral);
  position: relative;
}
.plan h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}
.price {
  font-family: var(--head);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 2px;
}
.price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-alt {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}
.plan li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 14px;
  height: 7px;
  border-left: 2.5px solid var(--ok);
  border-bottom: 2.5px solid var(--ok);
  transform: rotate(-45deg);
}
.plan .fine {
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

/* Privacy tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.tile {
  border-top: 3px solid var(--ink);
  background: var(--surface);
  border-radius: 6px 6px var(--radius) var(--radius);
  padding: 22px 22px 24px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tile p {
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 0;
}
.more {
  margin-top: 26px;
}

/* Get the app */
.get {
  background: #1e3ae0;
  color: #ffffff;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.get h2 {
  color: #ffffff;
  margin-bottom: 14px;
}
.get p {
  color: rgba(255, 255, 255, 0.88);
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 16px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #1e3ae0;
  font-family: var(--head);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps strong {
  display: block;
  font-family: var(--head);
  font-size: 18px;
  color: #ffffff;
}
.steps span {
  color: rgba(255, 255, 255, 0.85);
}
.get-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.qr-card {
  justify-self: center;
  background: #ffffff;
  color: #14162b;
  border-radius: 24px;
  padding: 22px 22px 18px;
  text-align: center;
  width: min(280px, 100%);
  box-shadow: 0 24px 60px rgba(8, 16, 90, 0.45);
}
.qr-card img {
  width: 100%;
  border-radius: 8px;
}
.qr-card p {
  color: #3a3f66;
  font-size: 14px;
  margin: 12px 0 0;
}
.qr-card strong {
  font-family: var(--head);
  font-size: 17px;
  display: block;
  color: #14162b;
}

/* FAQ */
.faq {
  max-width: 760px;
}
.faq details {
  border-top: 1px dashed var(--line);
  padding: 4px 0;
}
.faq details:last-of-type {
  border-bottom: 1px dashed var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--head);
  font-weight: 700;
  font-size: 18px;
  padding: 18px 40px 18px 0;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 14px;
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  padding-right: 40px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px dashed var(--line);
  padding: 48px 0 40px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand p {
  color: var(--muted);
  margin: 10px 0 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: flex-start;
}
.footer-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.footer-legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.footer-legal p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 720px;
  margin-inline: auto;
  padding: 64px 0 24px;
  width: min(720px, 100% - 40px);
}
.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 10px;
}
.legal .meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}
.legal .meta div + div {
  margin-top: 2px;
}
.legal .summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 20px;
  color: var(--ink);
  margin: 38px 0 12px;
}
.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal li {
  margin-bottom: 8px;
}
.legal .contact {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
}

.notfound {
  text-align: center;
  padding: 120px 0;
}
.notfound h1 {
  font-size: clamp(48px, 9vw, 96px);
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .hero-copy {
    padding-bottom: 8px;
  }
  .hero-phone {
    width: min(340px, 82%);
    margin-top: 16px;
  }
  .split,
  .get {
    grid-template-columns: 1fr;
  }
  .split-media {
    order: -1;
  }
  .section {
    padding: 72px 0;
  }
}
@media (max-width: 720px) {
  .main-nav {
    display: none;
  }
  .brand-by {
    display: none;
  }
  .btn-nav {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.24s; }
  .hero-phone { animation: rise-phone 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes rise-phone {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Tenant portal ---------- */
.tenant {
  max-width: 760px;
  padding: 40px 0 24px;
  display: grid;
  gap: 16px;
}
.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.tcard h1 {
  font-size: clamp(26px, 4.5vw, 36px);
  margin-bottom: 8px;
}
.tcard h2 {
  font-size: 20px;
  margin-bottom: 14px;
}
.tlead {
  color: var(--muted);
  margin-bottom: 18px;
}
.tphoto[hidden] {
  display: none;
}
.tphoto {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.tphoto img {
  display: block;
  width: 100%;
  height: clamp(160px, 32vw, 260px);
  object-fit: cover;
}
.thead {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.thead h1 {
  font-family: var(--head);
  font-size: clamp(24px, 4vw, 34px);
  margin: 0 0 4px;
}
.tfield {
  margin-bottom: 16px;
}
.tfield label,
.tcard > label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.tfield input,
.tfield select,
.tfield textarea,
.tcard select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.tfield textarea {
  resize: vertical;
  min-height: 110px;
}
.tfield input:focus,
.tfield select:focus,
.tfield textarea:focus,
.tcard select:focus {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-color: var(--ink);
}
.thint {
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0 0;
}
.tfoot {
  text-align: center;
  margin: 8px 0 0;
}
.tmsg {
  color: #b42318;
  font-weight: 500;
  min-height: 1.4em;
  margin: 0 0 12px;
}
.tmsg.ok {
  color: var(--ok);
}
@media (prefers-color-scheme: dark) {
  .tmsg {
    color: #ff9f94;
  }
}
.tlink {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.tnotice {
  border-color: var(--ok);
  font-weight: 500;
}
.trow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}
.trow:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.tlabel {
  color: var(--muted);
}
.tvalue {
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}
.tdocs {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.tdoc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.tdoc:first-child {
  border-top: 0;
}
.tdoc strong,
.tsub {
  display: block;
}
.tsub {
  color: var(--muted);
  font-size: 14px;
}
.tdocright {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.btn-small {
  padding: 9px 16px;
  font-size: 14px;
}
.tpill {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ok) 16%, transparent);
  color: var(--text);
  white-space: nowrap;
}
.tpill.soon,
.tpill.status-acknowledged,
.tpill.status-booked {
  background: #fff1c2;
  color: #5c4300;
}
.tpill.overdue {
  background: var(--coral-soft);
  color: #8a1c10;
}
.tpill.status-reported {
  background: color-mix(in srgb, var(--ink) 14%, transparent);
}
@media (prefers-color-scheme: dark) {
  .tpill.soon,
  .tpill.status-acknowledged,
  .tpill.status-booked {
    background: #4a3a10;
    color: #ffe9a3;
  }
  .tpill.overdue {
    color: #ffb4aa;
  }
}
.tsafety {
  background: var(--coral-soft);
  color: #5a1710;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 15px;
}
.tsafety a {
  color: inherit;
  font-weight: 700;
}
@media (prefers-color-scheme: dark) {
  .tsafety {
    color: #ffd9d4;
  }
}
.tcheck {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.tcheck input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: none;
}
/* House share repair form: "my room" or "a shared area". */
.tarea {
  border: 0;
  padding: 0;
  min-width: 0;
}
.tarea legend {
  font-weight: 600;
  padding: 0;
  margin-bottom: 8px;
}
.tarea .tcheck {
  margin-bottom: 8px;
}
.tarea .tcheck input {
  padding: 0;
  border: 0;
  background: none;
}
.tarea .tcheck label {
  margin: 0;
  font-weight: 400;
}
.tenant .btn:disabled {
  opacity: 0.6;
  cursor: default;
}
@media (max-width: 520px) {
  .trow {
    flex-direction: column;
    gap: 2px;
  }
  .tvalue {
    text-align: left;
  }
  .tdoc {
    flex-direction: column;
    align-items: flex-start;
  }
  .tdocright {
    justify-content: flex-start;
  }
}
.tfield input[type=file] { padding: 10px; background: var(--paper); }
