:root {
  --green: #173f36;
  --green-dark: #12352e;
  --lime: #d5f393;
  --ink: #253d36;
  --muted: #78817b;
  --line: #e1e5dc;
  --cream: #f6f7f1;
  --white: #fff;
  --radius: 18px;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #9dc752;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1400px;
  padding: 23px 48px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.65px;
  line-height: 1.13;
}
.brand-icon {
  height: 43px;
  width: 43px;
  background: var(--green);
  color: var(--lime);
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  font-size: 34px;
  font-weight: 400;
}
.brand-bottom {
  display: block;
  font-size: 25px;
  letter-spacing: -1.3px;
}
.brand-dot {
  color: #84ab49;
}
.desktop-nav {
  display: flex;
  gap: 36px;
  font-size: 13px;
  color: #6c7670;
}
.desktop-nav a {
  padding: 9px 0;
}
.desktop-nav a.active {
  color: var(--green);
  position: relative;
  font-weight: 600;
}
.desktop-nav a.active:after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.login-link {
  font-weight: 600;
  display: flex;
  gap: 28px;
  align-items: center;
}
.login-link span {
  font-size: 20px;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 600;
  color: var(--green);
}
.location-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.location-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.location-label {
  color: var(--muted);
}
.location-pin {
  font-size: 22px;
  color: var(--green);
  margin-right: 7px;
}
.location-current {
  border: 0;
  background: transparent;
  font-weight: 650;
  padding: 5px 10px 5px 0;
}
.location-current span {
  margin-left: 16px;
}
.locate-button {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 4px 0 4px 18px;
  color: #6b7a70;
  font-size: 12px;
}
.live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #748075;
  font-size: 11px;
}
.live i,
.map-heading i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #76a553;
  display: inline-block;
}
.main-container {
  padding-top: 35px;
}
.page-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #7d887e;
  margin-bottom: 19px;
  font-weight: 600;
}
.date-label {
  letter-spacing: 1px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 22px;
}
.situation-panel {
  background: var(--green);
  color: white;
  border-radius: var(--radius);
  padding: 31px 35px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 650;
  color: #d9e8d7;
}
.status-dot {
  height: 7px;
  width: 7px;
  display: inline-block;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #d5f39313;
}
.intenso .status-dot {
  background: #ff947d;
}
.atencao .status-dot {
  background: #f2ce76;
}
.region-tag {
  margin-left: auto;
  border: 1px solid #ffffff26;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #c3d5c6;
}
.situation-panel h1 {
  font-size: 43px;
  line-height: 1.13;
  letter-spacing: -1.8px;
  max-width: 390px;
  margin: 25px 0 13px;
  font-weight: 550;
}
.hero-description {
  font-size: 13px;
  line-height: 1.8;
  color: #c7d6ca;
  max-width: 355px;
  margin: 0 0 24px;
}
.hero-location {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-location > span {
  height: 37px;
  width: 37px;
  background: #ffffff0a;
  border: 1px solid #ffffff16;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 23px;
}
.hero-location strong {
  font-size: 12px;
  display: block;
  font-weight: 600;
}
.hero-location div > span {
  display: block;
  color: #aec3b6;
  font-size: 10px;
  margin-top: 2px;
}
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}
.button {
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #2c5c4e;
}
.button:active {
  transform: translateY(1px);
}
.button.lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--green);
  padding: 12px 20px;
}
.button.lime span {
  margin-left: 16px;
  font-size: 17px;
}
.button.lime:hover {
  background: #e3ffb1;
}
.hero-evidence {
  font-size: 10px;
  color: #e1eddf;
}
.hero-evidence span {
  font-size: 9px;
  color: #a6c0ae;
}
.hero-decoration {
  position: absolute;
  right: -120px;
  bottom: -70px;
  z-index: -1;
  width: 300px;
  height: 280px;
  transform: rotate(-35deg);
  opacity: 0.12;
}
.hero-decoration span {
  position: absolute;
  width: 180px;
  height: 350px;
  border: 1px solid #d4f1a4;
  border-radius: 90px;
  top: 0;
}
.hero-decoration span:nth-child(2) {
  left: 45px;
}
.hero-decoration span:nth-child(3) {
  left: 90px;
}
.map-panel {
  position: relative;
  background: #e4e9dc;
  min-height: 380px;
  border: 1px solid #dce1d5;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.map-heading {
  position: absolute;
  left: 15px;
  right: 15px;
  top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 500;
  pointer-events: none;
}
.map-heading > span {
  background: white;
  padding: 8px 12px;
  box-shadow: 0 2px 8px #203c2010;
  border-radius: 7px;
  font-size: 11px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.map-heading button {
  pointer-events: auto;
  background: white;
  border: 0;
  border-radius: 7px;
  font-size: 23px;
  width: 36px;
  height: 36px;
  box-shadow: 0 2px 8px #203c2010;
}
#map {
  flex: 1;
  min-height: 342px;
  z-index: 1;
  background: #e9edde;
}
.map-legend {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  padding: 0 16px;
  font-size: 9px;
  z-index: 2;
}
.map-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.map-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.red {
  background: #dd7460;
}
.orange {
  background: #e7a34f;
}
.yellow {
  background: #c0a447;
}
.map-region {
  margin-left: auto;
  color: #85907f;
}
.leaflet-container {
  font-family: inherit !important;
}
.leaflet-control-attribution {
  font-size: 9px !important;
}
.leaflet-control-zoom {
  border: 1px solid #dde2d7 !important;
  box-shadow: none !important;
}
.quick-report {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 35px;
}
.quick-report h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 0 0 2px;
}
.quick-report p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.quick-options {
  display: flex;
  gap: 9px;
  align-items: center;
}
.quick-options > button:not(.button) {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  background: #fff;
  font-size: 11px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.quick-options > button:not(.button):hover {
  border-color: #8ca98c;
  background: #eef4e7;
}
.quick-options button span {
  font-size: 17px;
  color: #be914a;
}
.quick-options button:nth-child(2) span {
  color: #cd7966;
}
.quick-options .button {
  margin-left: 6px;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  gap: 40px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.eyebrow.dark {
  color: #809174;
  font-size: 9px;
  letter-spacing: 1.3px;
}
.section-heading h2 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.7px;
  margin: 4px 0 0;
}
.update-time {
  font-size: 10px;
  color: #8a9287;
}
.feed-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  margin-top: 18px;
  margin-bottom: 18px;
  padding-bottom: 15px;
}
.feed-filters button {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 11px;
  color: #7d867b;
  white-space: nowrap;
}
.feed-filters button.selected {
  background: #e6ecdf;
  border-color: #dce5d3;
  color: var(--green);
  font-weight: 600;
}
.feed-filters button span {
  margin-left: 5px;
  font-size: 9px;
  background: #d7e0ce;
  border-radius: 3px;
  padding: 1px 5px;
}
.occurrence-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 21px 22px;
  margin-bottom: 15px;
  scroll-margin-top: 20px;
}
.card-top {
  display: flex;
  gap: 12px;
  align-items: center;
}
.type-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 21px;
  background: #fff4da;
  color: #a78732;
}
.type-TRANSITO_PARADO,
.type-ACIDENTE,
.type-PISTA_FECHADA {
  color: #c56651;
  background: #faece7;
}
.type-TRANSITO_LENTO,
.type-OBRA {
  color: #b28a34;
  background: #faf1df;
}
.type-NORMALIZADO {
  color: #527d44;
  background: #eaf2e4;
}
.card-title {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.2px;
}
.card-location {
  font-size: 10px;
  color: #8a9085;
}
.card-top time {
  margin-left: auto;
  align-self: flex-start;
  font-size: 10px;
  color: #939a90;
}
.direction {
  display: inline-block;
  margin-top: 13px;
  font-size: 9px;
  background: #f4f5ef;
  border-radius: 4px;
  padding: 3px 8px;
  color: #7c8379;
}
.description {
  font-size: 13px;
  color: #657063;
  line-height: 1.75;
  margin: 12px 0 16px;
  overflow-wrap: anywhere;
}
.occurrence-card h3 {
  font-size: 14px;
  margin: 12px 0 0;
}
.author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #7c8577;
  margin-bottom: 16px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #edf0e7;
  color: #a2ac97;
}
.community-label {
  font-size: 8px;
  border: 1px solid #e5e9df;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
  color: #9ca291;
}
.card-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid #eef0e9;
  padding-top: 13px;
}
.card-actions button {
  font-size: 10px;
  white-space: nowrap;
  border: 1px solid #e5e9df;
  border-radius: 5px;
  background: white;
  padding: 6px 9px;
  color: #718167;
  min-height: 32px;
}
.card-actions button:hover,
.card-actions button.voted {
  background: #eff5e8;
  border-color: #afc69b;
}
.card-actions b {
  margin-left: 5px;
  font-size: 9px;
  font-weight: 500;
}
.card-actions .comments-toggle {
  margin-left: auto;
}
.card-actions .report-button {
  border: 0;
  padding-inline: 6px;
  color: #acafa4;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.media-grid img,
.media-grid video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  background: #edf0e7;
}
.empty-feed {
  border: 1px dashed #d5ddcd;
  border-radius: 14px;
  min-height: 280px;
  padding: 33px 20px;
  text-align: center;
  background: #ffffff60;
}
.empty-icon {
  margin: 0 auto 14px;
  width: 49px;
  height: 49px;
  border-radius: 15px;
  background: #e9efdf;
  display: grid;
  place-items: center;
  font-size: 29px;
  color: #7d9565;
}
.empty-feed h3 {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
}
.empty-feed p {
  font-size: 12px;
  color: #8a9182;
  margin: 0 0 20px;
}
.empty-feed .text-button {
  font-size: 12px;
}
.empty-feed .text-button span {
  margin-left: 13px;
}
.feed-note {
  display: flex;
  gap: 7px;
  font-size: 10px;
  color: #99a08e;
  justify-content: center;
  margin-top: 22px;
}
.sidebar {
  padding-top: 4px;
}
.nearby-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 21px;
}
.nearby-panel .section-heading h2 {
  font-size: 15px;
  font-weight: 650;
  margin: 0;
  letter-spacing: -0.3px;
}
.nearby-panel .section-heading > span {
  color: #829274;
  font-size: 17px;
}
.nearby-panel > p {
  font-size: 10px;
  color: #9a9f92;
  margin: 4px 0 15px;
}
.nearby-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eef0e8;
  padding: 11px 0;
}
.nearby-links a:last-child {
  padding-bottom: 0;
}
.place-symbol {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #f3f5ed;
  border: 1px solid #e9ecdf;
  border-radius: 7px;
  font-size: 16px;
  color: #8c9b7e;
}
.nearby-links strong {
  font-size: 11px;
  font-weight: 550;
  display: block;
}
.nearby-links small {
  font-size: 9px;
  color: #a0a594;
  display: block;
}
.nearby-links .arrow {
  margin-left: auto;
  font-size: 15px;
  color: #a3ad97;
}
.nearby-links a:hover strong {
  color: #819c45;
}
.save-panel {
  background: #edf0e3;
  border: 1px solid #e0e6d4;
  border-radius: 13px;
  padding: 22px;
  margin-top: 20px;
  position: relative;
}
.save-icon {
  font-size: 25px;
  display: block;
  color: #7f9657;
  margin-bottom: 9px;
}
.save-panel h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  font-weight: 550;
  margin: 0 0 10px;
}
.save-panel p {
  font-size: 11px;
  line-height: 1.8;
  color: #829075;
  margin: 0 0 18px;
}
.button.outline {
  background: transparent;
  border-color: #cdd7bf;
  color: var(--green);
}
.button.outline:hover {
  background: #e5edda;
}
.save-panel .button {
  width: 100%;
  font-size: 11px;
  padding: 10px;
}
.save-panel > small {
  display: block;
  text-align: center;
  font-size: 8px;
  color: #98a087;
  margin-top: 13px;
}
.favorite-links {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  gap: 8px;
  padding-top: 15px;
}
.how-section {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 36px;
  margin-top: 55px;
  border-top: 1px solid var(--line);
  padding: 34px 0 45px;
}
.how-section h2 {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.5px;
  font-weight: 550;
  margin: 10px 0;
}
.how-step > span {
  font-family: monospace;
  font-size: 11px;
  color: #99a87c;
}
.how-step h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 12px 0 7px;
}
.how-step p {
  font-size: 11px;
  color: #929984;
  line-height: 1.8;
  margin: 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #edf0e6;
  padding: 28px 0 18px;
}
.site-footer > .container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.footer-brand span {
  color: #829d55;
}
.site-footer p {
  font-size: 10px;
  color: #959d87;
  margin: 0;
}
.site-footer .container > span {
  margin-left: auto;
  font-size: 9px;
  color: #919b81;
}
.site-footer b {
  font-size: 18px;
  margin-left: 8px;
  font-weight: 400;
}
.site-footer .footer-bottom {
  justify-content: space-between;
  border-top: 1px solid #e0e5d7;
  margin-top: 20px;
  padding-top: 15px;
  gap: 20px;
  color: #9ba38f;
}
.footer-bottom small {
  font-size: 9px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 24px 100px #102f3540;
}
dialog::backdrop {
  background: #15392c75;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.dialog-heading h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  margin: 5px 0 0;
  font-weight: 600;
}
.close-dialog {
  border: 0;
  background: #e8eddf;
  border-radius: 50%;
  font-size: 24px;
  width: 32px;
  height: 32px;
  line-height: 1;
}
.dialog-heading .eyebrow {
  font-size: 8px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 12px 0 6px;
}
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
  border: 1px solid #d7dfcd;
  border-radius: 7px;
  outline-offset: 1px;
}
input::placeholder,
textarea::placeholder {
  color: #9aa48e;
  font-size: 12px;
}
textarea {
  resize: vertical;
}
fieldset {
  padding: 0;
  margin: 18px 0 0;
  border: 0;
  min-width: 0;
}
legend {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.type-grid label {
  margin: 0;
  position: relative;
}
.type-grid input {
  position: absolute;
  opacity: 0;
}
.type-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 85px;
  font-size: 10px;
  padding: 8px;
  cursor: pointer;
  line-height: 1.4;
}
.type-choice b {
  font-size: 24px;
  color: #94a367;
  font-weight: 500;
}
.type-grid input:checked + .type-choice {
  border-color: var(--green);
  background: #e8efdf;
  box-shadow: 0 0 0 1px var(--green);
}
.type-grid input:focus-visible + .type-choice {
  outline: 3px solid #a5c86e;
}
.step-indicator {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 11px;
  color: #7e8d71;
}
.step-indicator progress {
  height: 5px;
  flex: 1;
  accent-color: var(--green);
  min-width: 50px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.form-row {
  display: flex;
  gap: 14px;
}
.form-row > div,
.form-row > label {
  flex: 1;
  min-width: 0;
}
.field-help {
  font-size: 11px;
  color: #8a957e;
  line-height: 1.7;
}
.full {
  width: 100%;
}
#report-map {
  height: 210px;
  margin-top: 15px;
  border-radius: 9px;
  z-index: 1;
}
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px dashed #bccca9;
  padding: 20px;
  border-radius: 9px;
  background: #eef3e6;
}
.upload-zone > span {
  font-size: 25px;
}
.upload-zone strong {
  font-size: 12px;
  font-weight: 500;
}
.upload-zone small {
  font-size: 9px;
  color: #8f9a81;
}
.upload-zone input {
  font-size: 10px;
}
#media-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
#media-preview span {
  font-size: 10px;
  border-radius: 5px;
  background: #e4ecdb;
  padding: 4px 8px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.check-label input {
  accent-color: var(--green);
}
.review-box {
  background: white;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow-wrap: anywhere;
}
.review-box p {
  font-size: 12px;
  color: #859179;
}
.form-error {
  color: #b24b37;
  font-size: 12px;
  min-height: 0;
}
.form-error:empty {
  display: none;
}
.location-results {
  max-height: 380px;
  overflow: auto;
  margin-top: 15px;
}
.location-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.location-results strong {
  font-size: 13px;
  font-weight: 550;
}
.location-results span {
  font-size: 10px;
  color: #8e9b7d;
}
.location-results a:hover {
  background: #eaf0e1;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  background: var(--green);
  color: #fff;
  border: 1px solid #56785d;
  border-radius: 10px;
  padding: 14px 22px;
  box-shadow: 0 6px 30px #1b392522;
  max-width: calc(100% - 30px);
  font-size: 12px;
  text-align: center;
  min-width: 250px;
}
.comments-panel {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 12px;
}
.comment-form {
  display: flex;
  gap: 7px;
}
.comment-form input {
  font-size: 11px;
}
.small {
  padding: 7px 11px;
  font-size: 10px;
}
.comment {
  border-bottom: 1px solid #eef0e8;
  padding: 9px 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.comment strong {
  font-size: 10px;
}
.comment time {
  font-size: 9px;
  color: #96a08a;
  margin-left: 10px;
}
.comment p {
  margin: 5px 0 9px;
  color: #7e8875;
}
.comment .report-button {
  background: none;
  border: 0;
  color: #9ca890;
  float: right;
}
.comments-list {
  max-height: 340px;
  overflow: auto;
  margin-bottom: 12px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1050px;
  gap: 80px;
  align-items: center;
  padding: 75px 0 90px;
  min-height: 72vh;
}
.auth-intro {
  background: var(--green);
  color: #fff;
  padding: 42px 36px;
  border-radius: 18px;
}
.auth-intro h1 {
  font-size: 37px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -1.3px;
}
.auth-intro h1 span {
  color: var(--lime);
}
.auth-intro p {
  color: #b9cdb6;
  font-size: 13px;
  line-height: 1.9;
}
.auth-intro a {
  display: inline-block;
  font-size: 12px;
  margin-top: 35px;
  color: var(--lime);
}
.auth-card {
  max-width: 400px;
}
.auth-card h2 {
  font-size: 26px;
  letter-spacing: -0.6px;
  font-weight: 550;
  margin: 20px 0 0;
}
.auth-card > p {
  font-size: 12px;
  color: #8b9680;
}
.auth-card form {
  margin-top: 28px;
}
.auth-card small {
  font-size: 10px;
  color: #91a080;
}
.auth-card .button {
  margin-top: 20px;
}
.auth-switch {
  text-align: center;
  font-size: 11px !important;
  margin-top: 25px;
}
.auth-switch a {
  color: var(--green);
  font-weight: 600;
}
.error-page {
  padding: 100px 0;
  min-height: 65vh;
}
.error-page > span {
  color: #a0b282;
  font-size: 50px;
}
.error-page h1 {
  font-weight: 500;
  font-size: 35px;
}
.admin-page {
  padding-top: 40px;
  padding-bottom: 50px;
}
.admin-page h1 {
  font-size: 35px;
  font-weight: 500;
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.admin-metrics > div {
  background: var(--green);
  color: white;
  padding: 20px;
  border-radius: 12px;
}
.admin-metrics strong {
  font-size: 32px;
  display: block;
  font-weight: 500;
}
.admin-metrics span {
  font-size: 12px;
  color: #bad0ac;
}
.admin-box {
  background: white;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 22px;
}
.admin-box h2 {
  font-size: 21px;
  font-weight: 550;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th,
td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  max-width: 400px;
  overflow-wrap: anywhere;
}
td .button {
  margin: 3px;
}
.admin-form {
  margin-top: 20px;
}
.admin-form .button {
  margin-top: 15px;
}
.noscript-note {
  background: #fff0ca;
  padding: 15px;
  text-align: center;
  font-size: 12px;
}
@media (min-width: 1500px) {
  .container {
    width: min(1320px, calc(100% - 100px));
  }
  .situation-panel {
    min-height: 415px;
    padding: 38px 40px;
  }
  .situation-panel h1 {
    font-size: 49px;
    max-width: 430px;
  }
  #map {
    min-height: 375px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-bottom {
    margin-top: 33px;
  }
  .hero-grid {
    gap: 25px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 355px;
    gap: 45px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    padding: 20px 24px;
  }
  .desktop-nav {
    gap: 22px;
  }
  .situation-panel {
    padding: 26px;
    min-height: 365px;
  }
  .situation-panel h1 {
    font-size: 36px;
  }
  .region-tag {
    display: none;
  }
  .quick-options > button:not(.button) {
    padding: 10px;
  }
  .quick-options {
    gap: 6px;
  }
  .quick-report {
    gap: 10px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 25px;
  }
  .hero-bottom {
    gap: 15px;
  }
  .hero-evidence {
    font-size: 9px;
  }
  .how-section {
    gap: 22px;
  }
  .site-footer > .container {
    gap: 15px;
  }
  .auth-layout {
    gap: 45px;
  }
  .hero-grid {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .desktop-nav {
    gap: 18px;
    font-size: 11px;
  }
  .live {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .situation-panel h1 {
    font-size: 32px;
  }
  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .hero-evidence br {
    display: none;
  }
  .hero-evidence span {
    margin-left: 8px;
  }
  .hero-location div > span {
    font-size: 9px;
  }
  .quick-report {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .quick-options {
    width: 100%;
  }
  .quick-options > button:not(.button) {
    flex: 1;
  }
  .quick-options .button {
    margin-left: auto;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 20px;
  }
  .card-actions {
    flex-wrap: wrap;
  }
  .card-actions button {
    font-size: 9px;
    padding: 6px;
  }
  .card-actions .comments-toggle {
    margin-left: 0;
  }
  .feed-filters {
    gap: 0;
    overflow: auto;
  }
  .feed-filters button {
    padding: 7px 9px;
    font-size: 10px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .update-time {
    font-size: 9px;
  }
  .occurrence-card {
    padding: 16px;
  }
  .nearby-panel {
    padding: 17px;
  }
  .nearby-panel .section-heading h2 {
    font-size: 13px;
  }
  .save-panel {
    padding: 19px;
  }
  .how-section {
    grid-template-columns: 1fr 1fr;
    gap: 22px 35px;
  }
  .site-footer > .container {
    flex-wrap: wrap;
  }
  .site-footer .container > span {
    margin-left: 0;
  }
  .auth-layout {
    gap: 30px;
  }
  .auth-intro {
    padding: 28px;
  }
  .auth-intro h1 {
    font-size: 29px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-inner {
    padding: 16px;
    gap: 12px;
  }
  .brand {
    font-size: 14px;
    gap: 8px;
  }
  .brand-icon {
    width: 35px;
    height: 35px;
    font-size: 29px;
    border-radius: 10px;
  }
  .brand-bottom {
    font-size: 21px;
  }
  .desktop-nav {
    display: none;
  }
  .login-link {
    font-size: 12px;
    gap: 16px;
  }
  .header-actions {
    gap: 10px;
    font-size: 11px;
  }
  .user-name {
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .location-inner {
    flex-wrap: wrap;
    gap: 3px 9px;
    min-height: 60px;
    padding-block: 10px;
  }
  .location-label {
    font-size: 10px;
  }
  .location-pin {
    font-size: 18px;
    margin-right: 3px;
  }
  .location-current {
    font-size: 11px;
  }
  .location-current span {
    margin-left: 4px;
  }
  .locate-button {
    margin-left: auto;
    padding-left: 10px;
    font-size: 20px;
    line-height: 1;
  }
  .locate-button span {
    display: none;
  }
  .main-container {
    padding-top: 23px;
  }
  .page-kicker {
    font-size: 8px;
    letter-spacing: 1.1px;
    margin-bottom: 13px;
  }
  .date-label {
    font-size: 8px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .situation-panel {
    padding: 24px;
    min-height: 335px;
    border-radius: 15px;
  }
  .situation-panel h1 {
    font-size: 39px;
    max-width: 330px;
    margin: 24px 0 12px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .region-tag {
    display: inline;
    font-size: 7px;
  }
  .hero-description {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .hero-location div > span {
    font-size: 10px;
  }
  .hero-bottom {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-top: 24px;
  }
  .hero-evidence br {
    display: initial;
  }
  .hero-evidence span {
    margin-left: 0;
    font-size: 8px;
  }
  .button.lime {
    font-size: 11px;
    padding: 10px 13px;
  }
  .button.lime span {
    margin-left: 3px;
  }
  .map-panel {
    min-height: 260px;
    border-radius: 14px;
  }
  #map {
    min-height: 232px;
  }
  .map-legend {
    height: 30px;
    padding-inline: 10px;
    gap: 14px;
    font-size: 8px;
  }
  .map-heading {
    top: 10px;
    left: 10px;
    right: 10px;
  }
  .map-heading > span {
    font-size: 10px;
    padding: 6px 10px;
  }
  .map-heading button {
    height: 32px;
    width: 32px;
  }
  .quick-report {
    padding: 24px 0;
    margin-bottom: 26px;
    gap: 14px;
  }
  .quick-report h2 {
    font-size: 18px;
  }
  .quick-report p {
    font-size: 11px;
  }
  .quick-options {
    flex-wrap: wrap;
    gap: 7px;
  }
  .quick-options > button:not(.button) {
    flex: 1;
    padding: 9px 11px;
    font-size: 11px;
    justify-content: center;
    gap: 7px;
  }
  .quick-options .button {
    width: 100%;
    margin: 3px 0 0;
    padding: 12px;
  }
  .content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .update-time {
    font-size: 9px;
  }
  .feed-filters {
    margin-top: 14px;
    margin-bottom: 16px;
    gap: 4px;
  }
  .feed-filters button {
    font-size: 11px;
    padding: 7px 11px;
  }
  .occurrence-card {
    padding: 18px;
  }
  .card-actions {
    gap: 6px;
  }
  .card-actions button {
    font-size: 9px;
    padding: 7px;
  }
  .card-actions .comments-toggle {
    margin-left: auto;
  }
  .card-location {
    font-size: 10px;
  }
  .description {
    font-size: 12px;
  }
  .empty-feed {
    min-height: 270px;
  }
  .feed-note {
    font-size: 9px;
    text-align: center;
    align-items: center;
  }
  .sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nearby-panel {
    padding: 20px;
  }
  .nearby-panel .section-heading h2 {
    font-size: 16px;
  }
  .nearby-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
  }
  .nearby-links a:last-child {
    padding-bottom: 11px;
  }
  .save-panel {
    margin-top: 0;
    padding: 23px;
  }
  .save-panel h2 {
    font-size: 22px;
  }
  .save-panel p {
    max-width: 270px;
  }
  .save-panel > small {
    font-size: 9px;
  }
  .how-section {
    margin-top: 32px;
    padding: 28px 0 32px;
    gap: 25px;
  }
  .how-section > div:first-child {
    grid-column: 1/-1;
  }
  .how-section h2 br {
    display: none;
  }
  .how-section h2 {
    font-size: 23px;
  }
  .how-step h3 {
    font-size: 12px;
  }
  .how-step p {
    font-size: 11px;
  }
  .site-footer {
    padding-top: 24px;
  }
  .site-footer > .container {
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer .container > span {
    margin-top: 3px;
  }
  .footer-bottom small {
    font-size: 8px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    padding: 30px 0 50px;
    gap: 30px;
  }
  .auth-intro {
    padding: 26px;
  }
  .auth-intro h1 {
    font-size: 32px;
    margin: 18px 0;
  }
  .auth-intro a {
    margin-top: 10px;
  }
  .auth-card {
    max-width: none;
    padding: 0 5px;
  }
  .auth-card > .brand-icon {
    display: none;
  }
  .auth-card h2 {
    font-size: 25px;
  }
  .auth-intro h1 br {
    display: none;
  }
  .auth-intro h1 br:after {
    content: " ";
  }
  .auth-card > p {
    margin-top: 5px;
  }
  dialog {
    padding: 22px;
    max-height: 92dvh;
  }
  .dialog-heading h2 {
    font-size: 23px;
  }
  .type-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .type-choice {
    font-size: 9px;
    min-height: 85px;
    padding: 6px;
  }
  .type-choice b {
    font-size: 22px;
  }
  .dialog-heading .eyebrow {
    font-size: 7px;
  }
  .form-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .form-row > label {
    min-width: 100px;
  }
  .upload-zone {
    padding: 14px;
  }
  .upload-zone small {
    font-size: 8px;
  }
  .upload-zone input {
    font-size: 10px;
    padding: 8px !important;
  }
  .admin-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .admin-box {
    padding: 16px;
  }
  .admin-box h2 {
    font-size: 20px;
  }
  .media-grid img,
  .media-grid video {
    height: 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.expired-note {
  padding: 9px 12px;
  background: #fff2d8;
  border-radius: 7px;
  color: #927239;
  font-size: 11px;
  margin: 0 0 15px;
}

/* Theme preference is applied before the first paint by theme.js. */
:root {
  color-scheme: light;
}
.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
}
.theme-toggle:hover {
  border-color: #86a66b;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e0e9df;
  --muted: #a2afa4;
  --line: #34463b;
  --cream: #101c18;
  --white: #1b2b24;
  --surface: #1b2b24;
  --surface-raised: #26382e;
  --accent-text: #d5f393;
}
[data-theme="dark"]
  :is(
    .site-header,
    .location-bar,
    .occurrence-card,
    .nearby-panel,
    .admin-box,
    .review-box,
    .type-choice,
    .map-legend,
    .map-heading > span,
    .map-heading button
  ) {
  background: var(--surface);
}
[data-theme="dark"]
  :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  background: #15241d;
  border-color: var(--line);
  color: var(--ink);
}
[data-theme="dark"]
  :is(
    .desktop-nav a.active,
    .text-button,
    .location-pin,
    .button.outline,
    .auth-switch a
  ) {
  color: var(--accent-text);
}
[data-theme="dark"] .desktop-nav a.active::after {
  background: var(--lime);
}
[data-theme="dark"]
  :is(
    .desktop-nav,
    .locate-button,
    .live,
    .page-kicker,
    .map-region,
    .eyebrow.dark,
    .update-time,
    .card-location,
    .card-top time,
    .description,
    .author,
    .community-label,
    .feed-note,
    .nearby-panel > p,
    .nearby-links small,
    .nearby-links .arrow,
    .save-panel p,
    .save-panel > small,
    .how-step p,
    .how-step > span,
    .site-footer p,
    .site-footer .container > span,
    .site-footer .footer-bottom,
    .field-help,
    .step-indicator,
    .upload-zone small,
    .review-box p,
    .location-results span,
    .comment p,
    .comment time,
    .auth-card > p,
    .auth-card small,
    .empty-feed p
  ) {
  color: var(--muted);
}
[data-theme="dark"] :is(input::placeholder, textarea::placeholder) {
  color: #9caa9c;
}
[data-theme="dark"] :is(.save-panel, .site-footer, .upload-zone, .empty-feed) {
  background: #17271e;
  border-color: var(--line);
}
[data-theme="dark"]
  :is(
    .avatar,
    .direction,
    .place-symbol,
    .empty-icon,
    .close-dialog,
    #media-preview span
  ) {
  background: var(--surface-raised);
  color: #c0d7ad;
  border-color: var(--line);
}
[data-theme="dark"]
  :is(.save-icon, .type-choice b, .nearby-panel .section-heading > span) {
  color: #b2d184;
}
[data-theme="dark"] .quick-options > button:not(.button),
[data-theme="dark"] .card-actions button {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
[data-theme="dark"]
  :is(
    .quick-options > button:not(.button):hover,
    .card-actions button:hover,
    .card-actions button.voted,
    .button.outline:hover,
    .location-results a:hover,
    .feed-filters button.selected
  ) {
  background: #304731;
  border-color: #728b55;
  color: var(--accent-text);
}
[data-theme="dark"] .feed-filters button {
  color: var(--muted);
}
[data-theme="dark"] .feed-filters button.selected {
  color: var(--accent-text);
}
[data-theme="dark"] .feed-filters button span {
  background: #3b5135;
}
[data-theme="dark"] .type-grid input:checked + .type-choice {
  background: #304731;
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}
[data-theme="dark"]
  :is(
    .card-actions,
    .community-label,
    .nearby-links a,
    .comment,
    .site-footer .footer-bottom
  ) {
  border-color: var(--line);
}
[data-theme="dark"] .button.outline {
  border-color: #71845b;
}
[data-theme="dark"] :is(.card-actions .report-button, .comment .report-button) {
  color: #b1bcaa;
}
[data-theme="dark"] .type-icon {
  background: #403b23;
  color: #f4d47e;
}
[data-theme="dark"]
  :is(.type-TRANSITO_PARADO, .type-ACIDENTE, .type-PISTA_FECHADA) {
  background: #482e27;
  color: #ffad95;
}
[data-theme="dark"] .type-NORMALIZADO {
  background: #2a402c;
  color: #b4d98a;
}
[data-theme="dark"] .form-error {
  color: #ffb09d;
}
[data-theme="dark"] :is(.expired-note, .noscript-note) {
  background: #403923;
  color: #f2d28d;
}
[data-theme="dark"] :is(.map-panel, #map, #report-map) {
  background: #182820;
  border-color: var(--line);
}
/* Only map tiles are adjusted: report photos, videos and colored markers stay unchanged. */
[data-theme="dark"] .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(1.1) contrast(0.85)
    saturate(0.7);
}
[data-theme="dark"]
  :is(
    .leaflet-bar a,
    .leaflet-popup-content-wrapper,
    .leaflet-popup-tip,
    .leaflet-control-attribution
  ) {
  background: var(--surface);
  color: var(--ink);
}
[data-theme="dark"]
  :is(.leaflet-control-attribution a, .leaflet-popup-content a) {
  color: var(--accent-text);
}
[data-theme="dark"] .leaflet-bar a:hover {
  background: var(--surface-raised);
}
[data-theme="dark"] :is(.leaflet-control-zoom, .leaflet-bar a) {
  border-color: var(--line) !important;
}
[data-theme="dark"] .leaflet-container a.leaflet-popup-close-button {
  color: var(--ink);
}
[data-theme="dark"] :is(.check-label input, .step-indicator progress) {
  accent-color: #b5d57d;
}
@media (max-width: 600px) {
  .theme-toggle {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }
}

.content-grid > *,
.hero-grid > * {
  min-width: 0;
}
@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
  }
}

/* Comment composer, shared by server-rendered and newly polled reports. */
.comment-form {
  display: block;
  margin-top: 14px;
}
.comment-composer {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #eef1e9;
  padding: 7px;
}
.comment-composer:focus-within {
  border-color: #8da976;
}
.comment-form .comment-composer textarea {
  display: block;
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 36px;
  max-height: 120px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 8px 5px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 20px;
  resize: none;
}
.comment-form .comment-composer textarea:focus-visible {
  outline: none;
}
.comment-form .comment-composer textarea::placeholder {
  color: #7b8677;
  font-size: 13px;
}
.comment-composer button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #63745f;
  padding: 7px;
  flex-shrink: 0;
}
.comment-composer button:hover {
  background: #dfe6d7;
}
.comment-composer svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.comment-composer .comment-send {
  background: var(--green);
  color: var(--lime);
}
.comment-composer .comment-send:hover {
  background: #2c5c4e;
}
.comment-emoji-wrap {
  position: relative;
  flex-shrink: 0;
}
.comment-emojis {
  position: absolute;
  bottom: calc(100% + 14px);
  left: -36px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 40px);
  gap: 4px;
  padding: 9px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 8px 25px #10251926;
}
.comment-emojis button {
  width: 40px;
  height: 40px;
  font-size: 22px;
}
.comment-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 4px 14px;
}
.comment-preview {
  width: 90px;
  position: relative;
}
.comment-preview img {
  display: block;
  width: 90px;
  height: 75px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.comment-preview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 10px;
  padding-top: 4px;
}
.comment-remove-image {
  position: absolute;
  top: -7px;
  right: -5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
}
.comment-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 9px 0;
}
.comment-images a {
  display: block;
  max-width: min(100%, 260px);
}
.comment-images img {
  display: block;
  max-width: 100%;
  max-height: 230px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--cream);
  border: 1px solid var(--line);
}
.comment-error {
  margin: 8px 8px 0;
}
.comment-form[aria-busy="true"] .comment-send {
  opacity: 0.6;
}
[data-theme="dark"] .comment-composer {
  background: #25332d;
  border-color: #3a4a40;
}
[data-theme="dark"] .comment-composer:focus-within {
  border-color: #7e9e66;
}
[data-theme="dark"] .comment-form .comment-composer textarea {
  background: transparent;
  border: 0;
  color: var(--ink);
}
[data-theme="dark"] .comment-form .comment-composer textarea::placeholder {
  color: #a5aea6;
}
[data-theme="dark"] .comment-composer button {
  color: #d2dcd0;
}
[data-theme="dark"] .comment-composer button:hover {
  background: #3a4b3e;
}
[data-theme="dark"] .comment-composer .comment-send {
  background: #365341;
  color: var(--lime);
}
[data-theme="dark"] .comment-composer .comment-send:hover {
  background: #48694d;
}
@media (max-width: 400px) {
  .comment-composer {
    gap: 1px;
    padding: 5px;
  }
  .comment-form .comment-composer textarea,
  .comment-form .comment-composer textarea::placeholder {
    font-size: 12px;
  }
  .comment-composer button {
    width: 32px;
    height: 36px;
    padding: 6px;
  }
}
