:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #192d38;
  background: #f2f5f4;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
.container {
  width: min(68rem, 100% - 2rem);
  margin: auto;
}
header {
  background: #143b3b;
  color: #fff;
}
.header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.header a {
  color: #fff;
}
h1 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
}
h2 {
  margin: 0;
  font-size: 1.2rem;
}
main {
  padding: 1rem 0 3rem;
}
a {
  color: #135c5b;
  text-underline-offset: 0.2em;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
input,
select {
  min-height: 2.65rem;
  border: 1px solid #657e7d;
  border-radius: 0.35rem;
  padding: 0.4rem 0.65rem;
  background: #fff;
}
button {
  cursor: pointer;
}
button[aria-pressed="true"],
button[type="submit"] {
  color: #fff;
  background: #185453;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #936500;
  outline-offset: 3px;
}
.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
#filters {
  margin: 1rem 0;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.9rem;
  background: #e3ece9;
  border-radius: 0.6rem;
}
label {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}
#filters .actions {
  align-self: end;
}
#records {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
#records li {
  padding: 1rem;
  background: #fff;
  border: 1px solid #b8c9c6;
  border-radius: 0.6rem;
  overflow-wrap: anywhere;
}
#records p {
  margin: 0.45rem 0 0.8rem;
}
#notice:empty {
  display: none;
}
dialog {
  width: min(64rem, 100% - 1rem);
  border: 1px solid #657e7d;
  border-radius: 0.6rem;
}
dialog::backdrop {
  background: #102d3299;
}
dialog form {
  justify-content: space-between;
}
iframe {
  margin-top: 0.7rem;
  width: 100%;
  height: 75dvh;
  border: 1px solid #b8c9c6;
}
