@font-face {
  font-family: "Fixel";
  src: url("./assets/fonts/FixelText-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Fixel";
  src: url("./assets/fonts/FixelText-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

:root {
  --bg: #e5e5e5;
  --ink: #2f2f31;
  --muted: #919192;
  --grey: #dadada;
  --orange: #f0934f;
  --green: #3ab882;
  --green-dark: #2a9366;
  --red: #d51b1b;
  --fixel: "Fixel", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 1440px; min-height: 1060px; background: var(--bg); }
button, a { font: inherit; }
button { border: 0; cursor: default; }

.artboard {
  position: relative;
  width: 1440px;
  height: 1060px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--fixel);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

img { display: block; }
.icon-16 { width: 16px; height: 16px; }
.icon-24 { width: 24px; height: 24px; }

.sidebar {
  position: absolute;
  left: 44px;
  top: 24px;
  width: 200px;
  height: 781px;
}

.account-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 200px;
  height: 89px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--grey);
}

.workspace-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  padding: 12px 8px;
  background: rgba(255,255,255,.2);
}

.workspace-name { display: flex; align-items: center; gap: 8px; width: 129px; height: 24px; white-space: nowrap; letter-spacing: -.14px; }
.workspace-avatar { width: 24px; height: 24px; border-radius: 8px; object-fit: cover; }
.user-row { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 41px; padding: 8px; }

.small-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-family: var(--fixel);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.14px;
  white-space: nowrap;
}

.side-menu { position: absolute; left: 0; top: 104px; display: flex; flex-direction: column; width: 181px; }
.side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 181px;
  height: 42px;
  padding: 0 20px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.28px;
  white-space: nowrap;
}
.side-item img { width: 24px; height: 24px; }
.side-item:not(.is-active) img { opacity: .72; }
.side-item.is-active { width: 180px; border-radius: 8px; color: var(--orange); background: rgba(255,255,255,.6); font-family: var(--fixel); font-weight: 500; line-height: 16px; letter-spacing: -.14px; }
.side-item.is-active img { filter: invert(61%) sepia(72%) saturate(642%) hue-rotate(331deg) brightness(102%) contrast(88%); }

.help-pill {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 100px;
  background: rgba(255,255,255,.6);
}
.help-pill span { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6.5px; border-radius: 64px; color: #fff; background: var(--orange); font: 500 12px/20px var(--fixel); letter-spacing: .14px; }

.project-main { position: absolute; left: 273px; top: 34px; width: 1099px; height: 1230px; }
.back-row { position: absolute; left: 0; top: 0; width: 1099px; height: 25px; }
.back-button img { width: 16px; height: 16px; }

.project-header { position: absolute; left: 0; top: 49px; width: 1098px; height: 153px; }
.project-summary { position: absolute; left: 0; top: 0; width: 1098px; height: 94px; padding: 16px 24px; border-radius: 18px 18px 0 0; background: rgba(255,255,255,.2); }
.project-title-row { display: flex; align-items: center; gap: 8px; height: 32px; }
.project-title-row h1 { margin: 0; font-size: 22px; font-weight: 600; line-height: 32px; letter-spacing: -.33px; }
.project-tags { display: flex; gap: 9px; height: 22px; margin-top: 8px; }
.tag { display: flex; align-items: center; gap: 4px; height: 22px; padding: 4px 8px; border-radius: 8px; color: var(--ink); background: var(--grey); font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: -.24px; white-space: nowrap; }
.tag img { width: 12px; height: 12px; }
.tag-active { color: #fff; background: var(--orange); }

.project-mode { position: absolute; right: 24px; top: 31px; display: flex; gap: 4px; height: 32px; }
.project-mode .mode-pill:first-child { width: 103px; }
.project-mode .mode-pill:last-child { width: 108px; }
.mode-pill { display: flex; align-items: center; justify-content: center; gap: 8px; height: 32px; padding: 0 16px; border: 1px solid rgba(47,47,49,.2); border-radius: 16px; color: var(--ink); background: transparent; font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: -.28px; white-space: nowrap; }
.mode-pill img { width: 16px; height: 16px; }
.mode-pill.is-active { border-color: var(--ink); color: #fff; background: var(--ink); }

.sprint-switch { position: absolute; left: 16px; top: 106px; display: flex; gap: 4px; }
.sprint-switch .mode-pill:first-child { width: 118px; }
.sprint-switch .mode-pill:last-child { width: 114px; }
.sprint-actions { position: absolute; right: 16px; top: 106px; display: flex; align-items: center; gap: 8px; height: 33px; }
.project-header::after { content: ""; position: absolute; left: 0; top: 96px; width: 1098px; height: 57px; z-index: 0; border-radius: 0 0 18px 18px; background: rgba(255,255,255,.2); }
.project-summary, .project-mode, .sprint-switch, .sprint-actions { z-index: 1; }

.new-sprint { display: flex; align-items: center; gap: 4px; width: 114px; height: 33px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 8px; color: var(--green-dark); background: rgba(255,255,255,.6); font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: -.14px; white-space: nowrap; }
.new-sprint img { width: 16px; height: 16px; }
.sprint-select { display: flex; align-items: center; gap: 8px; width: 228px; height: 32px; padding: 0 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; background: rgba(255,255,255,.6); }
.sprint-select > img { width: 16px; height: 16px; flex: none; }
.sprint-label { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; flex: 1; white-space: nowrap; font-size: 14px; letter-spacing: -.14px; }
.sprint-label img { width: 16px; height: 16px; }
.menu-button, .rates-settings { display: grid; place-items: center; width: 40px; height: 32px; padding: 0; border: 1px solid rgba(255,255,255,.8); border-radius: 8px; background: rgba(255,255,255,.6); }
.sprint-actions > .menu-button { margin-left: 0; }
.menu-button img, .rates-settings img { width: 16px; height: 16px; }

.finance-space { position: absolute; left: 0; top: 226px; width: 1098px; height: 1004px; overflow: hidden; border-radius: 24px; background: rgba(255,255,255,.2); }
.finance-left { position: absolute; left: 16px; top: 0; width: 781px; height: 1004px; }
.finance-controls { position: absolute; left: 0; top: 16px; width: 781px; height: 89px; }
.cost-tabs { position: absolute; left: 0; top: 0; display: flex; gap: 4px; }
.plan-tabs { position: absolute; left: 0; top: 48px; display: flex; gap: 4px; }
.cost-tabs .mode-pill:first-child { width: 148px; }
.cost-tabs .mode-pill:nth-child(2) { width: 136px; }
.plan-tabs .mode-pill:first-child { width: 80px; }
.plan-tabs .mode-pill:nth-child(2) { width: 79px; }
.finance-controls .mode-pill { height: 28px; padding: 0 12px; border-radius: 14px; font-size: 12px; letter-spacing: -.24px; }
.finance-controls .mode-pill img { width: 14px; height: 14px; }
.finance-controls .cost-tabs .mode-pill:first-child { width: 132px; }
.finance-controls .cost-tabs .mode-pill:nth-child(2) { width: 122px; }
.finance-controls .plan-tabs { top: 44px; }
.finance-controls .plan-tabs .mode-pill:first-child { width: 72px; }
.finance-controls .plan-tabs .mode-pill:nth-child(2) { width: 70px; }

.rates-box { position: absolute; right: 0; top: 40px; display: flex; align-items: center; gap: 16px; width: 260px; height: 49px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.2); font-weight: 500; letter-spacing: -.28px; }
.rates-month { display: flex; align-items: center; gap: 4px; height: 33px; padding: 8px 12px; border-radius: 8px; color: var(--ink); background: var(--grey); white-space: nowrap; }
.rates-month img { width: 16px; height: 16px; }
.rates-settings { flex: none; background: #fff; }

.cost-stack { position: absolute; left: 0; top: 121px; width: 781px; height: 859px; }
.cost-card { position: absolute; left: 0; width: 781px; overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.4); }
.core-card { top: 0; height: 230px; }
.hourly-card { top: 242px; height: 147px; }
.taxes-card { top: 401px; height: 231px; }

.cost-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 56px; padding: 12px 16px; }
.cost-heading { display: flex; align-items: center; gap: 8px; }
.cost-heading > img { width: 24px; height: 24px; }
.cost-heading h2 { margin: 0 0 0 -4px; font-size: 18px; font-weight: 600; line-height: normal; letter-spacing: -.54px; white-space: nowrap; }
.add-button { display: flex; align-items: center; gap: 4px; height: 25px; padding: 4px 8px; border-radius: 8px; color: var(--green-dark); background: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: -.14px; }
.add-button img { width: 16px; height: 16px; }
.cost-bar strong { font-size: 22px; font-weight: 600; line-height: 32px; letter-spacing: -.44px; white-space: nowrap; }
.cost-bar strong.muted { color: var(--muted); }
.section-rule { height: 1px; width: 100%; background: rgba(0,0,0,.045); }

.table-wrap { position: absolute; left: 12px; width: 757px; }
.core-table { top: 64px; height: 158px; }
.short-table { top: 64px; height: 75px; }
.table-head, .table-row { display: grid; align-items: center; width: 100%; padding: 0 16px; }
.table-head { height: 33px; border-radius: 12px; background: var(--grey); font-size: 14px; font-weight: 600; line-height: 1.2; }
.table-head span:last-child { text-align: right; }
.table-row { height: 41px; font-size: 14px; font-weight: 600; letter-spacing: -.14px; }
.five-cols { grid-template-columns: repeat(3, minmax(0, 1fr)) 100px minmax(0, 1fr); }
.number { font-size: 18px; line-height: normal; letter-spacing: -.54px; }
.align-right { text-align: right; }
.danger { color: var(--red); }
.role-tag, .white-tag, .fixed-tag { display: inline-flex; align-items: center; gap: 4px; min-height: 23px; padding: 4px 8px; border-radius: 8px; font-style: normal; font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: -.24px; white-space: nowrap; }
.role-tag { background: var(--grey); }
.white-tag { background: #fff; }
.white-tag img, .fixed-tag img { width: 16px; height: 16px; }
.row-rule { height: 1px; margin: 0 16px; background: rgba(0,0,0,.035); }

.taxes-table { top: 64px; left: 8px; width: 765px; height: 159px; }
.tax-cols { grid-template-columns: repeat(3, minmax(0, 1fr)) 100px 24px 121px; }

.metrics-rail { position: absolute; right: 0; top: 0; width: 277px; height: 1004px; padding: 16px; border-radius: 0 24px 24px 0; background: var(--grey); }
.metrics-stack { display: flex; flex-direction: column; gap: 12px; width: 245px; }
.metric-card { width: 245px; border-radius: 12px; overflow: hidden; box-shadow: 0 1.44px 1.44px rgba(189,189,189,.1), 0 5.762px 11.524px rgba(140,140,140,.05), 0 20.167px 46.095px rgba(50,50,50,.06); }
.metric-head { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 8px 4px 8px 16px; background: rgba(255,255,255,.8); }
.metric-head > span { display: flex; align-items: center; gap: 4px; font-size: 12px; letter-spacing: -.24px; }
.metric-head img { width: 16px; height: 16px; }
.metric-body { display: flex; flex-direction: column; align-items: flex-start; min-height: 72px; padding: 12px 16px; background: rgba(255,255,255,.6); }
.metric-value-group { display: flex; flex-direction: column; gap: 2px; width: 100%; }
.metric-body strong { font-size: 22px; line-height: 32px; letter-spacing: -.44px; }
.metric-body small { font-size: 12px; line-height: 1.2; letter-spacing: -.24px; }
.metric-body small b { color: var(--orange); }
.profit-card .metric-body { min-height: 102px; gap: 5px; }
.fixed-tag { color: var(--muted); background: var(--grey); }
.set-button { display: flex; align-items: center; gap: 4px; height: 24px; padding: 4px 8px; border-radius: 8px; color: var(--green-dark); background: #fff; font-size: 12px; letter-spacing: -.24px; }
.set-button img { width: 16px; height: 16px; }
.green-head { color: #fff; background: var(--green); }
.set-button-green { color: #fff; background: var(--green-dark); }
.final-card .metric-body { min-height: 56px; }
