* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f3f5f2;
  color: #18392e;
  font: 15px system-ui,sans-serif;
}
header {
  background: #173f32;
  color: white;
  padding: 22px 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-size: 26px;
  font-weight: 800;
}
.brand span {
  font-size: 19px;
  font-weight: 400;
  margin-left: 12px;
}
aside {
  background: #e8edd4;
  padding: 10px 4vw;
  color: #46542c;
}
main {
  max-width: 1450px;
  margin: 30px auto;
  padding: 0 28px;
}
h1 {
  font-size: 34px;
  max-width: 650px;
}
h2 {
  font-size: 19px;
  margin: 0 0 15px;
}
p {
  line-height: 1.55;
}
form,
article {
  background: white;
  border: 1px solid #d5dfd6;
  border-radius: 12px;
  padding: 24px;
}
form {
  max-width: 680px;
}
label {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin: 6px 10px 10px 0;
  font-size: 13px;
}
input,
select,
button {
  font: inherit;
  padding: 9px 12px;
  border: 1px solid #bac9bd;
  border-radius: 6px;
  background: white;
  color: #18392e;
}
button {
  cursor: pointer;
}
button:hover {
  background: #edf3e6;
}
button.primary {
  background: #246449;
  color: white;
}
button:disabled {
  opacity: .5;
  cursor: wait;
}
.toolbar,
nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}
#name {
  font-size: 22px;
  font-weight: 650;
  flex: 1;
  min-width: 220px;
}
#cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}
article.wide {
  grid-column: span 2;
}
.metric {
  font-size: 44px;
  font-weight: 750;
  margin: 12px 0;
}
.muted {
  color: #607569;
  font-size: 13px;
}
.bar {
  display: grid;
  grid-template-columns: minmax(90px,1fr) 2fr 40px;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}
.track {
  background: #eef2e9;
  border-radius: 4px;
  overflow: hidden;
}
.fill {
  height: 16px;
  background: #619044;
}
.warn {
  color: #815215;
  background: #fff2d6;
  padding: 10px;
  border-radius: 6px;
}
table {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
}
td,
th {
  border-bottom: 1px solid #e3e9e4;
  text-align: left;
  padding: 7px;
  overflow-wrap: anywhere;
}
details {
  margin: 15px 0;
}
summary {
  cursor: pointer;
}
.scroll {
  overflow: auto;
  max-height: 350px;
}
.small {
  font-size: 12px;
}
#message {
  position: sticky;
  bottom: 15px;
  background: #183f32;
  color: white;
  padding: 12px;
  border-radius: 8px;
  white-space: pre-wrap;
}
#message:empty {
  display: none;
}
footer {
  padding: 25px 4vw;
  color: #62766b;
  font-size: 12px;
}
@media (max-width:850px) {
  #cards {
    grid-template-columns: 1fr;
  }
  article.wide {
    grid-column: span 1;
  }
  main {
    padding: 0 14px;
  }
  header {
    gap: 20px;
  }
  h1 {
    font-size: 28px;
  }
}

/* AR Insight identity */
header { background: #fff; color:#1e2428; border-bottom:1px solid #e3e7e9; gap:20px; flex-wrap:wrap; }
.brand { display:flex; align-items:center; gap:16px; font-size:30px; font-weight:650; }
.brand img { flex:none; }
.brand small { display:block; font-size:15px; font-weight:400; color:#73777a; margin-top:5px; }
