:root {
  font:
    16px/1.5 system-ui,
    sans-serif;
  color: #183542;
  background: #f3f6f8;
}
* {
  box-sizing: border-box;
}
.panel,
.grid > *,
.three > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
header {
  flex-wrap: wrap;
}
select {
  max-width: 100%;
}
body {
  margin: 0;
}
header {
  background: #142c3d;
  color: white;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header h1 {
  font-size: 22px;
  margin: 0;
}
header a {
  color: #fff;
}
#credential {
  overflow-wrap: anywhere;
}
main {
  max-width: 1240px;
  margin: 24px auto;
  padding: 0 24px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 18px;
}
h4 {
  font-size: 16px;
}
button,
a.button {
  font: inherit;
  background: #086879;
  color: white;
  border: 0;
  border-radius: 5px;
  padding: 10px 17px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button.secondary {
  background: #e3edf1;
  color: #183542;
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
input,
select,
textarea {
  font: inherit;
  padding: 9px;
  border: 1px solid #8ba1ad;
  border-radius: 4px;
  width: 100%;
  background: white;
  color: #183542;
}
textarea {
  min-height: 90px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 12px 0 5px;
}
small,
.muted {
  color: #486170;
}
.banner {
  padding: 14px 20px;
  background: #fff0c3;
  border-left: 5px solid #a86308;
}
.panel {
  background: white;
  border: 1px solid #c7d5dc;
  border-radius: 8px;
  padding: 22px;
  margin: 18px 0;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.badge {
  display: inline-block;
  background: #e3edf1;
  padding: 4px 8px;
  margin: 3px;
  border-radius: 4px;
  font-size: 13px;
}
.private {
  border-left: 5px solid #946021;
}
.official {
  background: #edf5f7;
  padding: 16px;
}
.card {
  padding: 14px 0;
  border-bottom: 1px solid #c7d5dc;
}
.card h3 {
  margin: 0 0 8px;
}
.card p {
  margin: 8px 0;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    14px/1.5 system-ui,
    sans-serif;
}
details {
  margin: 16px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 8px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
td,
th {
  padding: 9px;
  border-bottom: 1px solid #c7d5dc;
  text-align: left;
  overflow-wrap: anywhere;
}
nav a {
  color: white;
}
.login {
  max-width: 560px;
  margin: 55px auto;
}
.error {
  color: #9f2319;
  font-weight: 600;
}
#notice {
  min-height: 24px;
}
.selected {
  outline: 3px solid #086879;
}
#report-preview article {
  padding: 14px;
  border: 1px solid #b4c8d2;
  margin: 14px 0;
}
#report-preview p {
  overflow-wrap: anywhere;
}
*:focus-visible {
  outline: 3px solid #aa5b00;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 750px) {
  .grid,
  .three {
    grid-template-columns: 1fr;
  }
  main {
    padding: 0 14px;
  }
  header {
    align-items: flex-start;
  }
  header h1 {
    font-size: 18px;
  }
  .panel {
    padding: 16px;
  }
  table {
    display: block;
    overflow-x: auto;
  }
}

.report-frame { display:block; width:100%; height:800px; border:1px solid #849aae; margin-top:1rem; }
.report-viewer { margin:1rem 0; }
summary { cursor:pointer; }
