:root {
  --navy: #072f4f;
  --teal: #06495f;
  --tab: #0b536a;
  --red: #e55252;
  --yellow: #f5cf55;
  --green: #55ad5f;
  --text: #666;
  --muted: #8b8b8b;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Arial, Helvetica, sans-serif; background: #f5f6f7; color: var(--text); }
body { min-width: 1180px; }

.topbar {
  height: 49px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 52px;
  font-size: 14px;
  font-weight: 600;
}
.logo {
  width: 40px;
  height: 40px;
  margin-right: 34px;
  background: #fff;
  color: #0d3f63;
  display: grid;
  place-content: center;
  line-height: .83;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: -.5px;
}
.logo span { display: block; }
.topbar .primary-item { margin-right: 34px; white-space: nowrap; }
.topbar .spacer { flex: 1; }
.topbar .view-as { margin-right: 25px; white-space: nowrap; }
.user-area { display: flex; align-items: center; gap: 10px; }
.bell { position: relative; width: 17px; height: 18px; display: inline-block; }
.bell::before { content: ""; position: absolute; left: 3px; top: 2px; width: 11px; height: 12px; background: #fff; border-radius: 7px 7px 3px 3px; }
.bell::after { content: ""; position: absolute; left: 1px; top: 13px; width: 15px; height: 3px; background: #fff; border-radius: 4px; box-shadow: 6px 3px 0 -5px #fff; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#9a704b,#243a53); border: 2px solid rgba(255,255,255,.45); }
.user-name { font-size: 12px; }

.subbar {
  height: 54px;
  background: var(--teal);
  display: flex;
  align-items: stretch;
  padding-left: 136px;
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.12);
  position: relative;
  z-index: 10;
}
.nav-link,
.nav-dropdown > button {
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  padding: 0 14px;
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  height: 100%;
}
.nav-link.active { background: #0c5870; box-shadow: inset 0 -3px 0 rgba(255,255,255,.18); }
.nav-link:hover,
.nav-dropdown > button:hover { background: rgba(255,255,255,.06); }
.chev { margin-left: 8px; width: 8px; height: 8px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(45deg) translateY(-2px); }
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  min-width: 190px;
  background: #fff;
  color: #2b4d64;
  border: 1px solid #cbd4da;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.dropdown-menu a { display: block; padding: 12px 14px; color: #2b4d64; text-decoration: none; font-size: 13px; }
.dropdown-menu a:hover { background: #eef4f6; }
.nav-dropdown.open .dropdown-menu { display: block; }

.page-shell { padding: 16px 29px 22px; }
.panel {
  background: #fff;
  border: 1px solid #c8cdd1;
  border-radius: 4px;
  min-height: 579px;
  padding: 20px 39px 26px;
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; }
.title-block h1 { margin: 0 0 2px; font-size: 18px; color: #5c5c5c; font-weight: 700; }
.title-block h1 span { font-weight: 400; color: #8e8e8e; }
.title-block .line { font-size: 17px; line-height: 21px; color: #757575; }
.week-picker { display: flex; align-items: flex-start; gap: 10px; }
.week-fields { width: 143px; }
.week-fields label { display: block; font-size: 10px; color: #5d5d5d; margin-bottom: 2px; }
.week-fields select { width: 142px; height: 20px; border: 1px solid #555; background: #fff; font-size: 11px; padding: 0 4px; }
.info {
  width: 29px; height: 29px; border: 3px solid #111; color: #111; border-radius: 50%;
  display: grid; place-items: center; font-family: Georgia,serif; font-weight: 700; font-style: italic; font-size: 19px; margin-top: 1px;
}

.gauges {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 18px;
  align-items: start;
}
.gauge-card { text-align: center; min-width: 0; }
.gauge-svg { width: 100%; max-width: 170px; height: 93px; display: block; margin: 0 auto -3px; overflow: visible; }
.gauge-track { fill: none; stroke: #eee; stroke-width: 24; }
.gauge-red, .gauge-yellow, .gauge-green { fill: none; stroke-width: 24; stroke-linecap: butt; }
.gauge-red { stroke: var(--red); }
.gauge-yellow { stroke: var(--yellow); }
.gauge-green { stroke: var(--green); }
.gauge-base { stroke: #222; stroke-width: 1.6; }
.gauge-needle { stroke: #151515; stroke-width: 1.6; transform-origin: 100px 100px; }
.gauge-card .label { font-size: 14px; line-height: 15px; font-weight: 700; color: #777; }
.gauge-card .value { font-size: 17px; line-height: 19px; font-weight: 700; color: #333; }

.fyc-section { margin-top: 34px; position: relative; }
.fyc-title { font-size: 16px; font-weight: 700; color: #68737d; margin-bottom: 8px; }
.fyc-title span { display:block; color:#5d6c7b; }
.fyc-wrap { display: grid; grid-template-columns: 1fr 176px; gap: 52px; align-items: start; }
.fyc-chart { position: relative; padding-bottom: 34px; }
.bar {
  position: relative; height: 65px; display: flex; overflow: hidden;
  background: #d6cdca;
}
.bar-blue { width: 36.88%; background: #4c82b4; }
.bar-rest { flex: 1; background: #d9cfcc; }
.bar-value-left { position: absolute; top: 25px; left: 18.5%; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: 14px; }
.bar-value-right { position: absolute; top: 25px; left: 69%; transform: translateX(-50%); color: #111; font-weight: 700; font-size: 14px; }
.target-line { position: absolute; top: -27px; bottom: 22px; width: 0; border-left: 2px dashed #111; }
.target-line.pro { left: 16.6%; }
.target-line.year { left: 100%; border-left-style: solid; }
.target-label { position: absolute; top: 79px; font-size: 12px; color: #8a8a8a; white-space: nowrap; }
.target-label.pro { left: 16.6%; transform: translateX(0); }
.target-label.year { right: 4px; }
.check { position: absolute; left: 56%; top: -36px; font-size: 22px; color: #59a34f; font-weight: 700; }
.legend { padding-top: 6px; font-size: 11px; color:#525252; }
.legend-row { display:flex; align-items:center; margin: 4px 0; white-space: nowrap; }
.swatch { width: 13px; height: 13px; margin-right: 5px; }
.swatch.ye { background:#d9cfcc; }
.swatch.pro { background:#bcb2af; }
.swatch.pipe { background:#8cc4e0; }
.swatch.target { background:#65a85b; }
.swatch.ytd { background:#4c82b4; }

.bottom-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 7px; }
.bottom-grid h2 { margin: 0 0 12px; color:#72777a; font-size: 16px; }
.bottom-grid p { margin: 0 0 6px; font-size: 14px; color:#5b5b5b; }
.bottom-grid strong { color:#333; }
.red { color:#ef2525; font-weight: 700; }

@media (max-width: 1250px) {
  .panel { padding-left: 28px; padding-right: 28px; }
  .subbar { padding-left: 100px; }
  .gauges { gap: 2px; }
  .gauge-card .label { font-size: 13px; }
}
