:root {
  font-family:
    Inter,
    Segoe UI,
    sans-serif;
  color: #1e302f;
  background: #f5f6f2;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: flex;
  min-height: 100vh;
}
aside {
  width: 240px;
  background: #123a34;
  color: #e5eee8;
  padding: 34px 22px;
  position: fixed;
  inset: 0 auto 0 0;
  overflow: auto;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.mark {
  background: #d3e8b8;
  color: #173c32;
  font-size: 22px;
  border-radius: 10px;
  padding: 6px 11px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: #7b8980;
  margin-top: 32px;
}
aside .eyebrow {
  color: #93b3a4;
  margin-top: 42px;
}
nav {
  display: grid;
  gap: 3px;
}
nav button {
  background: transparent;
  color: #b9cfc3;
  text-align: left;
  border: 0;
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
}
nav button.active {
  background: #285046;
  color: #f1f5dd;
}
.aside-note {
  font-size: 12px;
  line-height: 1.9;
  border-top: 1px solid #36594b;
  margin-top: 25px;
  padding-top: 20px;
  color: #aac0b2;
}
.aside-note small {
  font-size: 10px;
}
main {
  margin-left: 240px;
  flex: 1;
  padding: 0 44px;
  max-width: 1600px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dce2d7;
  padding: 25px 0;
  color: #748176;
  font-size: 12px;
}
.badge {
  font-size: 10px;
  letter-spacing: 1px;
  background: #e8edde;
  padding: 8px 11px;
  border-radius: 5px;
  color: #5b7257;
}
h1 {
  font-weight: 500;
  letter-spacing: -1px;
  font-size: 38px;
  margin: 12px 0;
}
p {
  color: #758177;
  font-size: 14px;
  line-height: 1.7;
}
.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.title-row .eyebrow {
  margin-top: 35px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: #fff;
  border: 1px solid #e0e5dc;
  border-radius: 10px;
  padding: 24px;
  min-width: 0;
}
.card small {
  font-size: 11px;
  color: #788678;
}
.number {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 15px 0 9px;
}
.north {
  background: #173f34;
  color: #e8f0dd;
  grid-column: span 2;
}
.north small {
  color: #a9c3ae;
}
.north .number {
  font-size: 38px;
}
.tag {
  display: inline-block;
  font-size: 10px;
  padding: 5px 7px;
  border-radius: 4px;
  background: #edf2e7;
  color: #697b59;
  margin-top: 6px;
}
.warn {
  background: #faf1de;
  color: #8a6a2e;
}
.wide {
  grid-column: span 2;
  margin-top: 4px;
}
.full {
  grid-column: 1/-1;
}
.card h2 {
  font-size: 17px;
  font-weight: 500;
  margin-top: 0;
}
.detail {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #eff1ec;
  padding: 13px 0;
  font-size: 12px;
}
.detail:last-child {
  border: 0;
}
.detail span {
  color: #7c897f;
}
.empty {
  padding: 48px 25px;
  text-align: center;
  background: #fff;
  border: 1px dashed #d8dfd2;
  border-radius: 10px;
}
.empty h2 {
  font-size: 20px;
  font-weight: 500;
}
.list {
  display: grid;
  gap: 12px;
}
.row-card {
  background: white;
  border: 1px solid #dfe5d9;
  padding: 20px;
  border-radius: 9px;
}
.row-card h3 {
  font-size: 15px;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.row-card p {
  font-size: 12px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
a {
  color: #2b7152;
}
button {
  font: inherit;
  background: #214d3b;
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 11px 19px;
  cursor: pointer;
}
button.secondary {
  background: white;
  color: #425548;
  border: 1px solid #dbe2d4;
  font-size: 12px;
}
input,
textarea,
select {
  font: inherit;
  padding: 12px;
  border: 1px solid #ced8c5;
  border-radius: 6px;
  background: white;
  max-width: 100%;
}
input {
  width: 390px;
}
textarea {
  width: 100%;
  min-height: 100px;
  display: block;
  margin: 16px 0;
}
footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8a9388;
  border-top: 1px solid #dce2d7;
  padding: 20px 0;
  margin-top: 55px;
}
#login {
  max-width: 730px;
  padding: 60px 0;
}
#login-error {
  color: #a24e31;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1050px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  main {
    padding: 0 24px;
  }
  aside {
    width: 205px;
  }
  main {
    margin-left: 205px;
  }
}
@media (max-width: 700px) {
  aside {
    position: static;
    width: 100%;
    padding: 20px;
  }
  body {
    display: block;
  }
  nav {
    grid-template-columns: repeat(3, 1fr);
  }
  aside .eyebrow,
  .aside-note {
    display: none;
  }
  main {
    margin: 0;
    padding: 0 18px;
  }
  h1 {
    font-size: 29px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .wide,
  .north {
    grid-column: span 1;
  }
  header {
    padding: 18px 0;
  }
  footer span {
    display: none;
  }
}
.review-check {
  display: block;
  margin: 10px 0;
}
.review-check input {
  width: auto;
  margin-right: 8px;
}
.model-revision pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.model-comparison { min-width: 0; overflow-wrap: anywhere; }
.model-comparison .detail {
  display: grid;
  grid-template-columns: minmax(85px, 0.8fr) minmax(0, 1.5fr);
}
.model-comparison pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.model-revision label {
  display: block;
  margin-top: 12px;
}
.research-memo {
  min-width: 0;
}
.research-memo .detail strong {
  min-width: 0;
  overflow-wrap: anywhere;
}
