:root {
  font-family: Arial, "Segoe UI", sans-serif;
  color: #15263e;
  background: #f3f6fa;
  --blue: #154f76;
  --teal: #087f8c;
  --line: #dce5ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
aside {
  position: fixed;
  inset: 0 0 0 auto;
  width: 226px;
  background: #142a43;
  color: #fff;
  padding: 28px 18px;
  z-index: 2;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.subtitle {
  color: #aec4d7;
  font-size: 12px;
  margin-bottom: 30px;
}
.nav {
  display: block;
  padding: 14px;
  border-radius: 11px;
  margin: 5px 0;
  color: #d9e6f2;
  background: transparent;
  border: 0;
  text-align: right;
  width: 100%;
}
.nav.active,
.nav:hover {
  background: #246078;
  color: white;
}
main {
  margin-right: 226px;
  padding: 32px;
  max-width: 1660px;
}
.top {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.eyebrow {
  font-size: 13px;
  color: #6c7f96;
}
h1 {
  margin: 5px 0 8px;
  font-size: 29px;
}
p {
  line-height: 1.6;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn {
  padding: 11px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #253d57;
}
.btn.primary {
  background: #086e79;
  color: #fff;
  border-color: #086e79;
}
.chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 18px 0 26px;
}
.chip {
  background: #e5edf4;
  border-radius: 100px;
  padding: 7px 13px;
  font-size: 13px;
  color: #415e7b;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 15px;
}
.card {
  background: white;
  border: 1px solid #e2e9f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 18px #1d426508;
}
.kpi .label {
  font-size: 13px;
  color: #63768d;
}
.value {
  font-size: 27px;
  font-weight: 800;
  margin: 13px 0 5px;
  direction: ltr;
  text-align: right;
}
.small {
  font-size: 12px;
  color: #73869a;
  line-height: 1.5;
}
.positive {
  color: #087e69;
}
.negative {
  color: #bc523c;
}
.grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.section-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 18px;
}
.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #edf1f5;
  padding: 12px 0;
  gap: 12px;
}
.metric:last-child {
  border: 0;
}
.metric span {
  color: #576b80;
  font-size: 14px;
}
.metric b {
  font-size: 17px;
  direction: ltr;
  white-space: nowrap;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field label {
  display: block;
  font-size: 13px;
  color: #516a81;
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  min-width: 0;
  border: 1px solid #cddae6;
  padding: 12px 13px;
  border-radius: 9px;
  background: #fcfdff;
  direction: ltr;
  text-align: right;
}
.field input:focus {
  outline: 2px solid #82d2d3;
}
.help {
  font-size: 12px;
  color: #758aa0;
  margin-top: 7px;
  line-height: 1.5;
}
.bar-wrap {
  margin: 19px 0;
}
.bar-caption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 8px;
}
.bar {
  height: 13px;
  border-radius: 9px;
  background: #e4edf2;
  overflow: hidden;
}
.bar > div {
  height: 100%;
  background: var(--teal);
  border-radius: 9px;
  transition: width 0.25s;
}
.bar.alt > div {
  background: #6d82b5;
}
.notice {
  border-right: 3px solid #d59e44;
  padding: 14px 16px;
  background: #fffbf0;
  font-size: 13px;
  line-height: 1.8;
  color: #715c39;
  margin: 20px 0;
}
.hidden {
  display: none !important;
}
.chart {
  height: 220px;
  display: flex;
  gap: 9px;
  align-items: flex-end;
  justify-content: space-around;
  padding: 22px 5px 15px;
  border-bottom: 1px solid #ccd8e4;
}
.chart-col {
  flex: 1;
  max-width: 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.chart-stick {
  width: 100%;
  background: #168793;
  border-radius: 6px 6px 0 0;
  min-height: 2px;
}
.chart-stick.forecast {
  background: #9ab8d8;
}
.chart-label {
  position: absolute;
  top: 100%;
  margin-top: 8px;
  font-size: 11px;
  color: #71839a;
}
.result-pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  background: #e5f5ee;
  color: #087e69;
  font-weight: 700;
  margin-top: 12px;
}
.foot {
  font-size: 12px;
  color: #718399;
  margin-top: 28px;
}
.fileinput {
  display: none;
}
svg {
  max-width: 100%;
}
@media (max-width: 1130px) {
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  aside {
    position: static;
    width: auto;
    padding: 16px;
  }
  .logo {
    font-size: 18px;
    margin: 0;
  }
  .subtitle {
    margin: 5px 0 12px;
  }
  .nav {
    display: inline-block;
    width: auto;
    padding: 9px 10px;
    font-size: 13px;
  }
  main {
    margin: 0;
    padding: 19px 14px;
  }
  .kpis {
    gap: 8px;
  }
  .card {
    padding: 16px;
  }
  .value {
    font-size: 21px;
  }
  h1 {
    font-size: 23px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .top {
    align-items: flex-start;
  }
}
@media print {
  aside,
  .actions,
  .chips,
  .field input {
    display: none !important;
  }
  main {
    margin: 0;
    padding: 0;
  }
  .hidden {
    display: block !important;
  }
  .card {
    break-inside: avoid;
    box-shadow: none;
  }
  body {
    background: white;
  }
}

.chart-note {
  margin-top: 25px;
}

.spaced-field {
  margin-top: 18px;
}

.bar-fill-full {
  width: 100%;
}
