:root {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #18342b;
  background: #eef3ed;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 736px; padding: 36px 20px 32px; margin: auto; }
header { margin-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 670; }
.brand span { display: grid; place-items: center; background: #205d48; color: white; width: 30px; height: 30px; border-radius: 9px; font-size: 1.3rem; }
h1 { font-size: clamp(1.9rem, 7vw, 2.65rem); line-height: 1.2; margin: 17px 0 8px; letter-spacing: -.035em; }
header p { margin: 0; color: #4b6359; line-height: 1.55; }
form { display: grid; gap: 12px; }
section { background: #fff; border: 1px solid #d8e4db; border-radius: 18px; padding: 16px; }
.section-title, .location-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
h2, label { font-size: 1rem; font-weight: 700; margin: 0; }
.provider, .muted, .privacy { font-size: .875rem; color: #50685e; }
.map-panel { position: relative; height: clamp(140px, 29vh, 265px); margin: 12px 0; border-radius: 11px; overflow: hidden; background: #e9f0e8; }
#map { width: 100%; height: 100%; }
.placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 14px; background: #e9f0e8; color: #415e51; }
[hidden] { display: none !important; }
#coordinates { font-size: .91rem; font-variant-numeric: tabular-nums; }
.muted { margin-top: 4px; }
button, textarea { font: inherit; }
button { min-height: 46px; padding: 10px 14px; border-radius: 10px; font-weight: 650; cursor: pointer; border: 1px solid transparent; }
button:focus-visible, textarea:focus-visible { outline: 2px solid #267b61; outline-offset: 2px; }
button:disabled { cursor: default; opacity: .62; }
.secondary { background: #e7f3eb; color: #174934; white-space: nowrap; }
.details { display: grid; gap: 8px; }
textarea { width: 100%; min-height: 76px; resize: vertical; padding: 11px; border: 1px solid #baccc0; border-radius: 10px; color: inherit; background: #fafcf9; }
.privacy { margin-bottom: 3px; }
#submit { background: #205d48; color: white; }
#status { margin: 0; padding: 12px 14px; border-radius: 10px; background: #dcefe1; overflow-wrap: anywhere; }
#status[data-error="true"] { color: #782b1c; background: #f8e8e0; }
@media (max-width: 450px) {
  main { padding: 22px 12px; }
  section { padding: 12px; }
}
