:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #e8e9e5;
  background: #101315;
  font-synthesis: none;
  color-scheme: dark;
  --muted: #9ba6a7;
  --line: #2b3537;
  --green: #c6ee9b;
  --blue: #82b7d4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  display: flex;
}
aside {
  width: 238px;
  padding: 40px 26px;
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  background: #13191b;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 17px;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.brand span {
  font-weight: 400;
}
.brand small {
  display: block;
  color: var(--green);
  font-size: 9px;
  letter-spacing: 3px;
  margin-top: 13px;
}
nav {
  margin-top: 74px;
  display: grid;
  gap: 10px;
}
nav a {
  padding: 14px 8px;
  border-bottom: 1px solid #263033;
  text-decoration: none;
  color: #758385;
  font-size: 11px;
}
nav a span {
  font-size: 13px;
  margin-left: 18px;
  color: #d3dcda;
}
nav a:hover {
  background: #25302b;
  color: var(--green);
}
.aside-footer {
  margin-top: auto;
  font-size: 12px;
  color: #b5c0be;
  line-height: 2;
}
.aside-footer small {
  color: #758385;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 7px;
}
main {
  margin-left: 238px;
  padding: 46px 4.4vw;
  width: calc(100% - 238px);
  max-width: 1800px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 38px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.3px;
  color: var(--green);
  font-weight: 600;
  margin-top: 0;
}
h1 {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 450;
  letter-spacing: -1.8px;
  margin: 18px 0;
}
h2 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 24px;
}
.muted,
.meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.panel {
  padding: 26px;
  background: #181f21;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section-heading h2 {
  margin: 18px 0;
}
.section-heading h3 {
  margin: 0;
}
.section-heading > span {
  font-size: 10px;
  color: var(--muted);
}
section {
  margin-bottom: 34px;
}
.filters {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
  flex-wrap: wrap;
}
label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}
.case-select {
  flex: 1;
  min-width: 180px;
}
input,
select,
button,
.button {
  font: inherit;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid #3b4748;
  background: #1c2527;
  color: #f0f2ed;
  padding: 11px 13px;
  min-height: 40px;
}
button,
.button {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:hover,
.button:hover {
  filter: brightness(1.15);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: #182313;
  font-weight: 600;
}
input:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.kpi {
  border-top: 2px solid #687f68;
  padding: 22px;
  background: #181f21;
  border-radius: 4px;
}
.kpi .label {
  color: var(--muted);
  font-size: 11px;
}
.kpi strong {
  display: block;
  font-size: 38px;
  letter-spacing: -1px;
  font-weight: 450;
  margin: 12px 0;
}
.kpi small {
  color: #a9bd9c;
  font-size: 11px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.two > .panel {
  margin: 0;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}
th {
  color: #93a19e;
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: 500;
  padding: 12px 12px;
  border-bottom: 1px solid #465252;
}
td {
  padding: 16px 12px;
  border-bottom: 1px solid #2b3537;
}
tbody tr:hover {
  background: #202a2b;
}
td:first-child {
  color: #e5e9e1;
}
td small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 6px;
}
.trend {
  height: 180px;
  display: flex;
  gap: 3px;
  align-items: end;
  margin: 28px 0 12px;
  overflow-x: auto;
}
.day {
  height: 100%;
  min-width: 6px;
  flex: 1;
  display: flex;
  align-items: end;
  gap: 1px;
  border-bottom: 1px solid #475452;
  position: relative;
}
.day b {
  display: block;
  width: 50%;
  min-height: 1px;
  background: var(--green);
}
.day b + b {
  background: var(--blue);
}
.legend {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 5px 0 12px;
}
.start {
  background: var(--green);
}
.finish {
  background: var(--blue);
}
.bar-row {
  margin: 19px 0;
}
.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 9px;
}
.bar-track {
  height: 5px;
  background: #2c3838;
  border-radius: 5px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--green);
}
.statline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 12px;
  color: var(--muted);
}
.statline strong {
  color: #e5e9e1;
  font-weight: 500;
}
.notice {
  color: #d6c59c;
  background: #302c21;
  border: 1px solid #554b32;
  font-size: 12px;
  line-height: 1.6;
  padding: 14px;
  border-radius: 4px;
}
.mini-kpis {
  display: flex;
  gap: 40px;
}
.mini-kpis strong {
  font-size: 26px;
  font-weight: 400;
  display: block;
  margin-bottom: 6px;
}
.mini-kpis span {
  font-size: 11px;
  color: var(--muted);
}
#definitions li {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 10px;
}
#definitions ul {
  padding-left: 18px;
}
#definitions strong {
  color: #d0d9d4;
}
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #7a8887;
  display: flex;
  justify-content: space-between;
}
.login {
  max-width: 530px;
  margin: 60px auto;
}
.login h2 {
  font-size: 28px;
}
.login p {
  font-size: 13px;
  line-height: 1.7;
}
.login .button {
  width: 100%;
  text-align: center;
  margin: 18px 0;
}
.login form {
  display: grid;
  gap: 13px;
}
.divider {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
#message {
  font-size: 13px;
  color: #d6c59c;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1150px) {
  aside {
    width: 190px;
    padding: 32px 18px;
  }
  main {
    margin-left: 190px;
    width: calc(100% - 190px);
    padding: 32px 24px;
  }
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  aside {
    position: static;
    width: 100%;
    border-right: 0;
    padding: 20px;
    display: block;
  }
  body {
    display: block;
  }
  nav {
    margin-top: 20px;
    display: flex;
    overflow: auto;
    gap: 14px;
  }
  nav a {
    white-space: nowrap;
    padding: 8px 0;
  }
  nav a span {
    margin-left: 6px;
  }
  .aside-footer {
    display: none;
  }
  main {
    margin: 0;
    width: 100%;
    padding: 24px 16px;
  }
  header {
    gap: 8px;
  }
  header .muted {
    max-width: 260px;
  }
  h1 {
    font-size: 33px;
  }
  .kpi {
    padding: 16px;
  }
  .kpi strong {
    font-size: 30px;
  }
  .filters label {
    flex: 1;
  }
  .panel {
    padding: 18px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading > span {
    margin-top: 20px;
    max-width: 140px;
    text-align: right;
  }
  footer span {
    display: none;
  }
  .mini-kpis {
    gap: 20px;
  }
}
.signin {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.signin main {
  margin: 0;
  width: min(100%, 580px);
  padding: 32px 20px;
}
.signin .login {
  margin: 32px 0;
}
.signin h1 {
  font-size: 34px;
}
.signin form {
  margin-top: 24px;
}
