/* the public permit application + status pages (no sign-in) */
:root { --brand: #a51c1c; --ink: #1d232b; --muted: #5b6573; --line: #d8dde3; --bg: #f4f5f7; --panel: #fff; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 16px; background: var(--panel); min-height: 100vh; }
.org { display: flex; gap: 12px; align-items: center; border-bottom: 3px solid var(--brand); padding-bottom: 10px; margin-bottom: 8px; }
.org img { width: 56px; height: 56px; object-fit: contain; }
h1 { font-size: 24px; margin: 14px 0 6px; } h2 { font-size: 18px; margin: 18px 0 6px; }
.muted { color: var(--muted); font-size: 14px; } .intro { color: var(--muted); }
label.f { display: block; margin: 12px 0; } label.f > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
label.f small { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
textarea { min-height: 110px; } .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 4px 14px 10px; margin: 16px 0; } legend { font-weight: 700; padding: 0 6px; }
.type { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0; cursor: pointer; }
.type input { width: auto; margin-top: 4px; } .type.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.needs { background: #fff8e1; border-radius: 8px; padding: 8px 12px; font-size: 14px; white-space: pre-wrap; }
.chk { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; } .chk input { width: auto; margin-top: 5px; }
.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 14px 20px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn[disabled] { opacity: .6; } button.btn { width: 100%; }
.err { color: var(--brand); font-weight: 600; min-height: 1.5em; } .hide { position: absolute; left: -9999px; }
.files div { font-size: 14px; } .chip { display: inline-block; padding: 3px 12px; border-radius: 12px; font-weight: 700; background: #eef1f4; }
.chip.ok { background: #e3f3e5; color: #1b5e20; } .chip.bad { background: #fde7e7; color: var(--brand); } .chip.wait { background: #fff4d6; color: #7a5600; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; } dt { color: var(--muted); } dd { margin: 0; }
.box { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 8px; padding: 10px 12px; } .pre { white-space: pre-wrap; }
