:root {
  /* Urban Structure OS brand palette (matches the app's own warm
     beige/taupe/espresso/bronze identity — see lib/core/theme/app_theme.dart
     AppColors — so this site reads as the same product, not a generic
     web page borrowed from an unrelated domain). */
  --bg: #f3ecdd;
  --surface: #fcfaf5;
  --fg: #2a2118;
  --muted: #6e5d45;
  --accent: #b5622c;
  --brand: #4a2e1b;
  --brand-ink: #f6eedd;
  --danger: #a73a28;
  --border: #ddd2ba;
  --field: #fcfaf5;
  --notice-bg: #eef3f8;
  --error-bg: #f4dcd4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1712;
    --surface: #241d16;
    --fg: #ececea;
    --muted: #b6a68c;
    --accent: #d98a54;
    --brand: #2a2118;
    --brand-ink: #f6eedd;
    --danger: #f2b8b5;
    --border: #4a3826;
    --field: #241d16;
    --notice-bg: #1d2a38;
    --error-bg: #3a1f1d;
  }
}
.brandbar {
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.7rem 1rem;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.page { max-width: 42rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 1rem 0; }
h2 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
h3 { font-size: 1rem; margin: 1.2rem 0 .3rem; }
a { color: var(--accent); }
ul { padding-left: 1.2rem; }
li { margin: .3rem 0; }
label { display: block; margin: .9rem 0 .25rem; font-weight: 600; }
input { display: block; width: 100%; padding: .65rem .7rem; font: inherit; color: var(--fg); background: var(--field); border: 1px solid var(--border); border-radius: 6px; }
button { font: inherit; padding: .65rem 1rem; margin-top: 1rem; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); color: var(--bg); cursor: pointer; }
button.danger { background: var(--danger); border-color: var(--danger); color: var(--bg); }
button.secondary { background: transparent; color: var(--accent); }
button:disabled { opacity: .5; cursor: not-allowed; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.notice { padding: .75rem 1rem; border-radius: 6px; background: var(--notice-bg); margin: 1rem 0; }
.notice.error { background: var(--error-bg); }
code { padding: .05rem .3rem; border: 1px solid var(--border); border-radius: 4px; }
footer { margin-top: 2.5rem; color: var(--muted); font-size: .9rem; }
.muted { color: var(--muted); }
.todo { background: #fff3b0; color: #3a2f00; padding: 0 .25rem; border-radius: 3px; font-weight: 600; }
table { border-collapse: collapse; width: 100%; margin: .6rem 0 1rem; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .45rem .5rem; border-bottom: 1px solid var(--border); }
