@font-face {
  font-family: PublicSans;
  src: url("/fonts/public-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: PublicSans, "Helvetica Neue", Arial, sans-serif;
  color: #171719;
  background: #fff;
  --red: #e4002b;
  --muted: #5d5d65;
  --line: #dcdce0;
  --soft: #f7f7f8;
  --green: #216345;
  --orange: #8a4b00;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
::selection {
  background: var(--red);
  color: #fff;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #002fa7;
  outline-offset: 4px;
}
input,
textarea {
  caret-color: var(--red);
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.header,
.footer,
main {
  width: min(1240px, calc(100% - 96px));
  margin: auto;
}
.header {
  min-height: 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 48px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}
.header nav > a {
  text-decoration: none;
}
.header nav > a:hover:not(.button),
.header nav > a[aria-current] {
  color: var(--red);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 50px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  padding: 14px 22px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.15s;
}
.button:hover {
  background: #be0024;
  border-color: #be0024;
}
.button.secondary {
  background: #fff;
  color: #171719;
  border-color: #b4b4bc;
}
.button.secondary:hover {
  background: var(--soft);
}
.button.small {
  min-height: 44px;
  padding: 10px 16px;
}
.button.subtle {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.button.danger {
  background: white;
  color: #b00024;
  border-color: #b00024;
}
.hero {
  padding: 70px 0 60px;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 70px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.03;
  margin: 0;
  max-width: 800px;
  text-wrap: balance;
}
.hero h1 span {
  color: var(--red);
}
.hero-aside {
  border-top: 3px solid #171719;
  padding-top: 20px;
  align-self: end;
}
.hero-aside p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 33ch;
}
.hero-aside .button {
  width: 100%;
  justify-content: space-between;
}
.city-line {
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0 0;
}
.summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid #171719;
  border-bottom: 1px solid #171719;
  margin-bottom: 52px;
}
.summary > div {
  padding: 25px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-right: 1px solid var(--line);
}
.summary > div:first-child {
  padding-left: 0;
}
.summary > div:last-child {
  border: 0;
}
.summary strong {
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.summary span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 15ch;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
h2 {
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 12px;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 10px;
}
p {
  line-height: 1.65;
}
.section-head h2 {
  margin: 0;
}
.section-head p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.toolbar {
  display: grid;
  grid-template-columns: minmax(200px, 1.8fr) 1fr 1fr;
  gap: 12px;
  padding: 18px;
  background: var(--soft);
  margin-bottom: 22px;
}
.field label,
.field > span {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select,
.toolbar input,
.toolbar select {
  display: block;
  width: 100%;
  border: 1px solid #b4b4bc;
  border-radius: 3px;
  padding: 13px 12px;
  background: #fff;
  color: #171719;
  min-height: 48px;
}
.field input::placeholder,
.field textarea::placeholder,
.toolbar input::placeholder {
  color: #686870;
  opacity: 1;
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.field small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 7px;
}
.field {
  margin-bottom: 22px;
}
.toolbar .field {
  margin: 0;
}
.tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  overflow: auto;
}
.tabs button,
.tabs a {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.tabs [aria-selected="true"],
.tabs [aria-current] {
  border-color: var(--red);
  color: var(--red);
}
.empty {
  padding: 66px 28px 72px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.empty strong {
  font-size: 25px;
  letter-spacing: -0.025em;
  display: block;
}
.empty p {
  color: var(--muted);
  max-width: 52ch;
  margin: 12px auto 24px;
  font-size: 14px;
}
.empty-mark {
  display: block;
  font-size: 56px;
  line-height: 1;
  color: #b5b5bd;
  margin: 0 auto 22px;
  font-weight: 300;
}
.notice {
  background: var(--soft);
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.6;
  margin: 24px 0;
}
.notice strong {
  display: block;
  margin-bottom: 4px;
}
.notice.error {
  background: #fff0f3;
  color: #9e0022;
}
.notice.success {
  background: #eff7f2;
  color: var(--green);
}
.notice a {
  font-weight: 650;
}
.how-strip {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding: 40px 0;
  margin-top: 22px;
}
.how-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.how-strip a {
  font-size: 14px;
  font-weight: 650;
}
.footer {
  margin-top: 60px;
  padding: 32px 0 36px;
  border-top: 1px solid #171719;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 40px;
  font-size: 12px;
}
.footer strong {
  font-size: 15px;
}
.footer p {
  color: var(--muted);
  margin: 12px 0;
}
.footer > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer > p {
  font-size: 18px;
  font-weight: 700;
  color: #171719;
  margin: 0;
  line-height: 1.4;
}
.page-heading {
  padding: 48px 0 34px;
  max-width: 760px;
}
.page-heading h1 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 16px 0;
}
.page-heading p {
  color: var(--muted);
  font-size: 16px;
  max-width: 65ch;
}
.back {
  font-size: 13px;
  color: var(--muted);
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.8fr);
  gap: 80px;
  align-items: start;
}
.form-section {
  padding: 24px 0 12px;
  border-top: 1px solid var(--line);
}
.form-section h2 {
  font-size: 21px;
  margin-bottom: 24px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-aside {
  position: sticky;
  top: 24px;
  background: var(--soft);
  padding: 28px;
  font-size: 14px;
}
.form-aside h2 {
  font-size: 22px;
}
.form-aside p {
  color: var(--muted);
}
.form-aside ol {
  padding-left: 20px;
}
.form-aside li {
  padding: 8px 0;
  line-height: 1.5;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
  margin: 20px 0;
}
.check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--red);
  margin-top: 3px;
}
.submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}
.required {
  color: var(--red);
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.upload {
  padding: 24px;
  border: 1px dashed #93939e;
  background: var(--soft);
}
.upload input {
  max-width: 100%;
  font-size: 13px;
}
.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.file-chip {
  font-size: 12px;
  background: white;
  border: 1px solid var(--line);
  padding: 8px;
  overflow-wrap: anywhere;
}
.report-row {
  display: grid;
  grid-template-columns: 110px 1fr 180px;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  align-items: start;
}
.report-row:hover h3 {
  color: var(--red);
}
.report-row .category {
  font-size: 12px;
  color: var(--muted);
  padding-top: 5px;
}
.report-row p {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0;
}
.status {
  display: inline-block;
  font-size: 12px;
  line-height: 1.4;
  padding: 6px 9px;
  background: #fbecef;
  color: #a70020;
  font-weight: 650;
  border-radius: 3px;
}
.status.resolved {
  background: #edf5ef;
  color: var(--green);
}
.status.pending {
  background: #fff2df;
  color: var(--orange);
}
.report-meta {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.report-meta strong {
  color: #171719;
  display: block;
  margin-top: 10px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 70px;
}
.details {
  border-top: 1px solid var(--line);
}
.details > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.details dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.details dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.prose {
  max-width: 760px;
  padding-bottom: 20px;
}
.prose h2 {
  margin-top: 36px;
}
.prose p,
.prose li {
  font-size: 15px;
  line-height: 1.8;
  color: #45454e;
}
.prose li {
  margin: 12px 0;
}
.timeline {
  list-style: none;
  padding: 0;
}
.timeline li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.timeline time {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.login {
  max-width: 440px;
  margin: 60px auto 100px;
}
.login h1 {
  font-size: 36px;
  letter-spacing: -0.035em;
}
.login p {
  color: var(--muted);
  font-size: 14px;
}
.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 20px;
}
.admin-bar h1 {
  font-size: 36px;
  letter-spacing: -0.035em;
  margin: 0;
}
.admin-detail {
  padding: 24px;
  background: var(--soft);
  margin: 0 0 32px;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.media-grid img,
.media-grid video {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  background: #ececef;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 20px;
  background: #171719;
  color: #fff;
  max-width: 90%;
  font-size: 14px;
  z-index: 100;
  border-radius: 4px;
  display: none;
}
#toast.visible {
  display: block;
}
.loading {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}
.text-break {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.filters-count {
  padding: 16px 0;
  font-size: 12px;
  color: var(--muted);
}
.preview-warning {
  background: #fff2df;
  color: #6d4000;
  font-size: 13px;
  padding: 12px 18px;
  margin-top: 20px;
}
.success-page {
  max-width: 660px;
  margin: 70px auto;
}
.success-page h1 {
  font-size: 46px;
  letter-spacing: -0.04em;
}
.code {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  overflow-wrap: anywhere;
}
details summary {
  cursor: pointer;
  font-weight: 650;
  padding: 15px 0;
}
summary + div {
  padding: 12px 0;
}
.form-result:empty {
  display: none;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
button.link {
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--muted);
  padding: 8px;
  font-size: 13px;
}
main {
  min-height: 52vh;
}
.field[hidden],
[hidden] {
  display: none !important;
}
@media (min-width: 769px) {
  .hero h1 {
    animation: reveal 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
@keyframes reveal {
  from {
    clip-path: inset(0 0 18% 0);
  }
  to {
    clip-path: inset(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 1024px) {
  .hero {
    gap: 35px;
  }
  .form-layout {
    gap: 32px;
  }
  .header,
  .footer,
  main {
    width: calc(100% - 48px);
  }
  .header nav {
    gap: 18px;
  }
  .detail-grid {
    gap: 32px;
  }
  .summary > div {
    gap: 14px;
    padding: 22px 16px;
  }
}
@media (max-width: 768px) {
  .header,
  .footer,
  main {
    width: calc(100% - 36px);
  }
  .header {
    min-height: 90px;
    gap: 14px;
  }
  .brand {
    font-size: 17px;
    gap: 9px;
  }
  .brand-mark {
    width: 33px;
    height: 39px;
    font-size: 32px;
  }
  .header nav {
    gap: 12px;
  }
  .header nav > a:not(.button) {
    display: none;
  }
  .header .button {
    font-size: 12px;
    padding: 10px 12px;
    gap: 8px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 42px 0 32px;
    gap: 28px;
  }
  .hero h1 {
    font-size: 46px;
    max-width: 540px;
  }
  .hero-aside {
    border: 0;
    padding: 0;
  }
  .hero-aside p {
    max-width: 45ch;
    font-size: 15px;
    margin-bottom: 20px;
  }
  .hero-aside .button {
    width: auto;
    min-width: 230px;
  }
  .summary {
    margin-bottom: 36px;
  }
  .summary > div {
    flex-direction: column;
    align-items: start;
    gap: 8px;
    padding: 18px 10px;
  }
  .summary strong {
    font-size: 32px;
  }
  .summary span {
    font-size: 11px;
    max-width: 14ch;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .section-head h2 {
    font-size: 25px;
  }
  .toolbar {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
    gap: 10px;
  }
  .toolbar .field:first-child {
    grid-column: 1/-1;
  }
  .toolbar label {
    font-size: 12px;
  }
  .toolbar input,
  .toolbar select {
    font-size: 14px;
    padding: 11px 8px;
  }
  .empty {
    padding: 48px 12px;
  }
  .empty strong {
    font-size: 23px;
  }
  .how-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }
  .how-strip h2 {
    font-size: 23px;
  }
  .footer {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
    padding-bottom: 28px;
  }
  .footer > p {
    display: none;
  }
  .page-heading {
    padding-top: 28px;
  }
  .form-layout,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form-aside {
    position: static;
    order: -1;
    padding: 18px;
  }
  .form-aside ol {
    display: none;
  }
  .form-aside p {
    margin: 8px 0;
  }
  .form-aside h2 {
    font-size: 18px;
  }
  .grid2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .report-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 24px 0;
  }
  .report-row .category {
    padding: 0;
  }
  .report-meta strong {
    margin-top: 0;
  }
  .report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
  }
  .admin-bar {
    align-items: start;
  }
  .admin-bar h1 {
    font-size: 28px;
  }
  .admin-detail {
    padding: 18px 12px;
  }
  .admin-actions .button {
    width: 100%;
  }
  .tabs {
    gap: 22px;
  }
  .tabs button {
    font-size: 13px;
  }
  .success-page h1 {
    font-size: 36px;
  }
  .submit-row {
    align-items: start;
    flex-direction: column;
  }
  .submit-row .button {
    width: 100%;
  }
}
.header .button {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(34px, 9.2vw, 44px);
  }
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0;
  font-size: 13px;
}
.media-item {
  min-width: 0;
}
.replace-media {
  padding-top: 16px;
}
.replace-media input {
  padding: 8px;
  min-width: 0;
  width: 100%;
  font-size: 12px;
}
.replace-media .field {
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
  }
}
/* Interface pública: uma ação por vez, leitura fácil e controles grandes. */
.header {
  width: min(760px, calc(100% - 40px));
  min-height: 80px;
}
.brand {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 240px;
}
.home-link {
  font-size: 17px;
  padding: 12px;
}
.simple-home,
.simple-records,
.simple-form {
  max-width: 640px;
  margin: 0 auto;
}
.simple-home {
  padding: 44px 0 36px;
}
.simple-home h1 {
  font-size: 42px;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 16px;
}
.simple-home > p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 24px;
}
.button {
  font-size: 17px;
  min-height: 56px;
  padding: 15px 20px;
  border-radius: 5px;
  gap: 12px;
}
.primary-action {
  display: flex;
  width: 100%;
  margin-top: 24px;
}
.simple-records {
  padding: 0 0 20px;
}
.simple-records h2 {
  font-size: 25px;
  margin: 0 0 18px;
}
.simple-empty {
  font-size: 17px;
  color: var(--muted);
  padding: 20px 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.simple-report {
  display: block;
  text-decoration: none;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.simple-report h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.simple-report p {
  font-size: 16px;
  color: var(--muted);
  margin: 8px 0;
}
.simple-state {
  display: block;
  font-size: 15px;
  margin-top: 12px;
  font-weight: 650;
}
.read-record {
  display: inline-block;
  margin-top: 16px;
  font-size: 16px;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.simple-form {
  padding: 28px 0 20px;
}
.simple-form h1 {
  font-size: 34px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 22px 0 28px;
}
.simple-form p {
  font-size: 17px;
}
.simple-form .back {
  font-size: 16px;
  display: inline-block;
  padding: 10px 0;
}
.step-count {
  font-size: 15px !important;
  color: var(--muted);
  margin: 18px 0 0;
}
.form-step {
  min-width: 0;
}
.form-step h1:focus {
  outline: none;
}
.simple-form .field {
  margin-bottom: 24px;
}
.simple-form .field label {
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 10px;
}
.simple-form .field input,
.simple-form .field select,
.simple-form .field textarea {
  font-size: 18px;
  min-height: 56px;
  padding: 14px 12px;
}
.simple-form .field textarea {
  min-height: 130px;
}
.simple-form .field small {
  font-size: 15px;
}
.wizard-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.wizard-actions .button {
  width: 100%;
}
.simple-upload {
  padding: 22px 18px;
  background: var(--soft);
}
.simple-upload label {
  display: block;
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 20px;
}
.simple-upload input {
  font-size: 16px;
  max-width: 100%;
  width: 100%;
}
.simple-upload p {
  font-size: 15px;
  color: var(--muted);
  margin: 16px 0 0;
}
.simple-upload input::file-selector-button {
  font: inherit;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid #93939e;
  border-radius: 4px;
  cursor: pointer;
}
.review-summary {
  background: var(--soft);
  padding: 20px;
  overflow-wrap: anywhere;
}
.review-summary strong {
  font-size: 20px;
}
.review-summary p {
  margin: 12px 0;
}
.simple-form .check {
  font-size: 17px;
  line-height: 1.6;
}
.simple-form .check input {
  width: 24px;
  height: 24px;
  margin-top: 1px;
}
.consent-note {
  font-size: 15px !important;
  color: var(--muted);
}
.simple-search {
  margin-top: 24px;
}
.simple-records .tabs {
  gap: 32px;
}
.simple-records .tabs button {
  font-size: 17px;
  padding: 16px 0;
}
.footer {
  width: min(760px, calc(100% - 40px));
  display: block;
  margin-top: 36px;
  padding: 24px 0;
}
.footer > p {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 18px;
}
.footer > div {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px 24px !important;
  flex-wrap: wrap;
  font-size: 15px;
}
.simple-detail .notice {
  font-size: 17px;
  padding: 18px;
}
.simple-detail .status {
  font-size: 15px;
}
.simple-detail summary {
  font-size: 17px;
}
.simple-detail .timeline li {
  font-size: 16px;
}
.admin-detail .button {
  font-size: 15px;
}
.admin-detail .field label {
  font-size: 15px;
}
.form-layout > section > details {
  margin: 24px 0;
}
.success-page {
  margin: 30px auto;
}
.success-page h1 {
  font-size: 34px;
}
.success-page details {
  margin: 24px 0;
}
@media (max-width: 768px) {
  main {
    width: calc(100% - 40px);
  }
  .header {
    min-height: 76px;
    gap: 16px;
  }
  .brand {
    font-size: 18px;
    max-width: 210px;
  }
  .simple-home {
    padding-top: 32px;
  }
  .simple-home h1 {
    font-size: 36px;
  }
  .simple-home > p {
    font-size: 17px;
  }
  .simple-form {
    padding-top: 18px;
  }
  .simple-form h1 {
    font-size: 30px;
    margin-top: 18px;
    margin-bottom: 24px;
  }
  .step-count {
    margin-top: 14px;
  }
  .simple-records h2 {
    font-size: 24px;
  }
  .footer {
    margin-top: 24px;
  }
  .simple-form .field select {
    font-size: 17px;
  }
  .simple-records .tabs {
    gap: 24px;
  }
  .simple-records .tabs button {
    font-size: 16px;
  }
  .simple-detail .primary-action {
    font-size: 17px;
  }
  .review-summary {
    padding: 18px;
  }
}
.footer a {
  display: inline-block;
  padding: 12px 0;
  min-height: 44px;
}
.simple-form .button {
  min-height: 56px;
}
.brand,
.simple-home h1,
.simple-form h1 {
  line-height: 1.3;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0;
}
.simple-records {
  max-width: 1000px;
}
.problem-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 4px 16px rgb(23 23 25 / 12%);
  transition: box-shadow 0.18s ease;
}
.problem-card:hover {
  box-shadow: 0 6px 22px rgb(23 23 25 / 18%);
}
.problem-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--soft);
}
.no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 17px;
}
.problem-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
  overflow-wrap: anywhere;
}
.problem-card h3 {
  font-size: 21px;
  line-height: 1.3;
  margin: 16px 0 8px;
}
.problem-card p {
  font-size: 16px;
  line-height: 1.5;
  margin: 10px 0;
  color: var(--muted);
}
.problem-card .card-description {
  color: #171719;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-status {
  align-self: flex-start;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: #fff0f2;
  color: #a70020;
  font-size: 14px;
  font-weight: 700;
}
.card-status.is-resolved {
  background: #edf6f0;
  color: var(--green);
}
.card-facts {
  display: grid;
  gap: 16px;
  margin: 16px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.card-facts dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.card-facts dd {
  margin: 0;
  color: #171719;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}
.card-neighborhood {
  display: block;
  color: var(--muted);
  font-weight: 400;
}
.card-estimate {
  font-weight: 400;
}
.card-footer {
  margin-top: auto;
}
.problem-card .card-received {
  margin: 0 0 12px;
  font-size: 14px;
}
.problem-card .read-record {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--red);
  border-radius: 5px;
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.problem-card:hover .read-record {
  background: #fff0f2;
}
.neighborhood-select {
  max-width: 400px;
  margin: 24px 0;
}
.neighborhood-select label {
  font-size: 18px;
}
.neighborhood-select select {
  font-size: 18px;
  min-height: 56px;
}
.public-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.public-gallery img,
.public-gallery video {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: var(--soft);
}
.public-gallery:has(> :only-child) {
  grid-template-columns: 1fr;
}
.resolution-reviews {
  max-width: 1000px;
  margin: 0 auto 40px;
}
.resolution-review {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.resolution-review .field {
  margin-top: 20px;
}
.resolution-review .media-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.resolution-review img {
  aspect-ratio: 1;
  object-fit: cover;
}
.resolution-review textarea {
  min-height: 100px;
}
#resolution-form {
  margin-top: 28px;
}
#solution-photos {
  font-size: 16px;
  width: 100%;
  padding: 16px 10px;
}
.resolution-reviews .media-grid a {
  display: block;
}
.resolution-reviews .button-row {
  margin: 20px 0;
}
@media (max-width: 1100px) {
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .neighborhood-select {
    max-width: none;
  }
  .problem-card h3 {
    font-size: 22px;
  }
  .problem-card-body {
    padding: 20px;
  }
  .public-gallery {
    grid-template-columns: 1fr;
  }
  .resolution-review .media-grid {
    grid-template-columns: 1fr 1fr;
  }
  .resolution-review .button-row {
    flex-direction: column;
  }
}
.brand {
  max-width: 100%;
  gap: 12px;
}
.brand img {
  display: block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}
.brand span {
  min-width: 0;
}
@media (max-width: 768px) {
  .brand {
    gap: 10px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
}

.feed-section { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.feed-editor-layout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px; align-items: start; margin: 20px 0; }
.feed-canvas { display: block; width: 100%; height: auto; background: var(--soft); }
.feed-controls { min-width: 0; }
.feed-controls input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--red); }
.feed-controls .button-row { flex-direction: column; align-items: stretch; }
.feed-controls #feed-error { color: #a70020; }
@media (max-width: 1100px) { .feed-editor-layout { grid-template-columns: 1fr; } .feed-canvas { max-width: 360px; } }
