:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    sans-serif;
  color: #20372a;
  background: #f5f6f2;
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  background: #244e38;
  color: white;
  padding: 12px 18px;
  font-weight: 600;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.topbar {
  height: 88px;
  background: #fff;
  border-bottom: 1px solid #e0e5dd;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 max(28px, calc((100vw - 1300px) / 2));
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}
.brand-mark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #284f3b;
  color: #fff;
  width: 36px;
  height: 40px;
  border-radius: 12px 3px 12px 3px;
  font-size: 24px;
  font-family: Georgia, serif;
}
.brand small {
  display: block;
  font-size: 9px;
  color: #859087;
  letter-spacing: 1.6px;
  margin-top: 4px;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: #6a766b;
}
nav a:hover {
  color: #254f38;
}
.quiet {
  margin-left: auto;
  color: #68766b;
  background: none;
  border: 1px solid #e3e7df;
  font-size: 12px;
  padding: 8px 12px;
}
.workspace {
  max-width: 1300px;
  margin: auto;
  padding: 44px 28px 24px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #788575;
  margin: 0 0 10px;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.2px;
  font-weight: 650;
  margin: 0 0 12px;
}
h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.4px;
  margin: 0;
}
h3 {
  font-size: 17px;
  margin: 0;
}
.muted {
  color: #748074;
  line-height: 1.6;
  font-size: 12px;
}
.page-heading .muted {
  margin: 0;
}
.mode-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #355c40;
  background: #e7ede3;
  border: 1px solid #d7e2d3;
  padding: 9px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.mode-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #488459;
}
.notice {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #f0ede3;
  border: 1px solid #e4dfcf;
  color: #83724a;
  padding: 13px 16px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.notice strong {
  white-space: nowrap;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.metrics article {
  background: #fff;
  border: 1px solid #e3e7df;
  border-radius: 8px;
  padding: 22px;
}
.metrics p {
  font-size: 12px;
  color: #738173;
  margin: 0 0 18px;
}
.metrics strong {
  display: block;
  font-size: 26px;
  letter-spacing: -1px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.metrics span {
  display: block;
  font-size: 10px;
  color: #7f897e;
  margin-top: 12px;
}
.main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
}
.panel {
  background: #fff;
  border: 1px solid #e1e6dd;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  min-width: 0;
  scroll-margin-top: 24px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.chart {
  min-height: 230px;
  display: flex;
  align-items: center;
}
.chart svg {
  width: 100%;
  height: auto;
}
.fine {
  font-size: 10px;
  color: #859080;
  line-height: 1.7;
  margin-bottom: 0;
}
.holding {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #edf0e9;
}
.holding:first-child {
  padding-top: 0;
}
.holding strong {
  font-size: 13px;
  font-weight: 600;
}
.holding small {
  display: block;
  font-size: 10px;
  color: #859080;
  margin-top: 8px;
}
.holding > div:last-child {
  text-align: right;
}
.subnote {
  font-size: 10px;
  color: #8a9487;
  margin-top: 24px;
}
.pill {
  font-size: 10px;
  border: 1px solid #d9e4d6;
  color: #5a7759;
  border-radius: 4px;
  padding: 5px 8px;
  white-space: nowrap;
}
.amber {
  background: #faf4e6;
  border-color: #eadfc3;
  color: #967833;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
th {
  color: #8a9587;
  font-size: 10px;
  font-weight: 500;
  border-bottom: 1px solid #e5e9e0;
  padding: 0 12px 12px;
}
td {
  padding: 14px 12px;
  font-size: 12px;
  border-bottom: 1px solid #f0f2ec;
}
tr:last-child td {
  border-bottom: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 8px 0 20px;
  gap: 20px;
}
.section-heading p:last-child {
  margin-bottom: 0;
}
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.model-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.model-metrics small {
  display: block;
  color: #879181;
  font-size: 10px;
}
.model-metrics strong {
  display: block;
  font-size: 23px;
  font-weight: 500;
  margin-top: 9px;
}
.model-card .muted {
  margin: 24px 0 0;
  font-size: 11px;
}
.empty {
  text-align: center;
  color: #939b8e;
  padding: 28px;
  font-size: 12px;
}
.error {
  color: #a34734;
  background: #fbefeb;
  padding: 16px;
  border-radius: 6px;
  font-size: 13px;
}
footer {
  display: flex;
  gap: 22px;
  color: #8a9584;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 12px 0 20px;
}
footer span:last-child {
  margin-left: auto;
}
.login-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f0f2eb;
}
.login-card {
  width: 420px;
  max-width: 100%;
  padding: 42px;
  background: #fff;
  border: 1px solid #e0e5d9;
  border-radius: 12px;
}
.login-card .brand-mark {
  margin-bottom: 32px;
}
.login-card h1 {
  font-size: 26px;
  margin: 16px 0;
}
.login-card form {
  margin-top: 30px;
}
.login-card label {
  display: block;
  font-size: 12px;
  margin-bottom: 10px;
}
.login-card input {
  display: block;
  width: 100%;
  padding: 13px;
  border: 1px solid #d7dfd0;
  border-radius: 6px;
  background: #fbfcf9;
}
.login-card button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
}
.login-card #error {
  font-size: 12px;
  color: #aa5141;
  line-height: 1.6;
}
.login-card .fine {
  margin-top: 28px;
}
@media (max-width: 1000px) {
  .topbar {
    gap: 28px;
  }
  nav {
    gap: 16px;
  }
  .metrics strong {
    font-size: 22px;
  }
  .main-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .panel {
    padding: 20px;
  }
  .holding {
    flex-wrap: wrap;
  }
  .model-metrics strong {
    font-size: 21px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 72px;
    padding: 0 20px;
  }
  .brand {
    font-size: 12px;
  }
  nav {
    display: none;
  }
  .workspace {
    padding: 28px 18px;
  }
  .page-heading {
    gap: 16px;
    align-items: start;
  }
  h1 {
    font-size: 24px;
  }
  .mode-badge {
    font-size: 10px;
    padding: 7px 9px;
  }
  .notice {
    display: block;
  }
  .notice strong {
    display: block;
    margin-bottom: 4px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .metrics article {
    padding: 18px;
  }
  .metrics strong {
    font-size: 22px;
  }
  .metrics p {
    margin-bottom: 14px;
  }
  .main-grid,
  .model-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .holding {
    flex-wrap: nowrap;
  }
  .chart {
    min-height: 180px;
  }
  .section-heading {
    display: block;
  }
  .section-heading .muted {
    margin-top: 12px;
  }
  footer {
    flex-wrap: wrap;
  }
  footer span:last-child {
    margin-left: 0;
  }
  .login-card {
    padding: 30px;
  }
  .panel-heading .muted {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
