:root {
  font-family: system-ui, sans-serif;
  color: #183b35;
  background: #f5f8f6;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
footer {
  padding: 22px max(24px, calc((100% - 1200px) / 2));
  background: #fff;
  border-bottom: 1px solid #dce5e0;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
a {
  color: #096750;
}
nav {
  display: flex;
  gap: 22px;
}
.brand {
  font-size: 23px;
  font-weight: 750;
  text-decoration: none;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 35px 24px;
}
.intro {
  max-width: 780px;
}
h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
  margin: 14px 0;
}
p {
  line-height: 1.65;
}
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 2px;
  color: #387761;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid #c7d8ce;
  background: #fff;
  border-radius: 9px;
  padding: 12px 16px;
  color: #07513f;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
input,
select,
textarea {
  padding: 12px;
  border: 1px solid #b2c6b9;
  border-radius: 9px;
  background: #fff;
  color: #17352d;
}
input:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid #64b899;
  outline-offset: 2px;
}
.language-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}
common-location-selector {
  display: block;
  background: #fff;
  border: 1px solid #d5e1d9;
  border-radius: 16px;
  overflow: hidden;
}
.location-search {
  display: flex;
  gap: 14px;
  padding: 18px;
  align-items: end;
}
.location-search label {
  flex: 1;
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
.location-search input {
  width: 100%;
}
.location-map {
  height: 480px;
}
.location-results {
  list-style: none;
  padding: 0 18px;
  margin: 0;
}
.location-results button {
  text-align: left;
  width: 100%;
  margin: 4px 0;
}
.location-results span {
  font-size: 13px;
  color: #5d7065;
}
.map-status {
  margin: 0 18px 10px;
  font-size: 14px;
}
.map-status:empty {
  display: none;
}
.location-confirm {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
}
.confirm,
.primary {
  background: #076741;
  color: white;
}
.note {
  font-size: 14px;
  color: #596f64;
}
output {
  display: block;
  padding: 18px 0;
  font-weight: 600;
}
footer {
  font-size: 13px;
  color: #527064;
}
.panel {
  background: #fff;
  padding: 24px;
  border: 1px solid #d4e1d7;
  border-radius: 14px;
  margin: 24px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid label,
.login label {
  display: grid;
  gap: 8px;
}
.form-grid textarea {
  min-height: 90px;
}
.queue-item {
  padding: 18px;
  border: 1px solid #d6e2da;
  margin: 16px 0;
  border-radius: 10px;
}
.queue-item pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 650px) {
  header {
    padding: 18px;
    align-items: start;
  }
  nav {
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
  }
  main {
    padding: 24px 14px;
  }
  .location-search {
    flex-direction: column;
    align-items: stretch;
  }
  .location-map {
    height: 390px;
  }
  .location-confirm {
    align-items: stretch;
    flex-direction: column;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .brand {
    font-size: 20px;
  }
}

.actions { flex-wrap: wrap; }
.queue-item, pre { overflow-wrap: anywhere; }
input, select, textarea { min-width: 0; max-width: 100%; }
#credential { width: 100%; }
pre { white-space: pre-wrap; }
