@font-face {
  font-family: Dana;
  src: url("/assets/fonts/Dana-FaNum-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Dana;
  src: url("/assets/fonts/Dana-FaNum-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    14px/1.7 Dana,
    sans-serif;
  color: #19343d;
  background: #f3f6f7;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid #dce5e6;
  border-radius: 8px;
  padding: 9px 16px;
  background: white;
  color: #19343d;
}
button:hover {
  background: #eaf5f2;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
a {
  color: #087f76;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  line-height: 1.7;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 17px;
}
h3 {
  font-size: 15px;
}
.muted {
  color: #7a8c93;
}
.small {
  font-size: 12px;
}
.mono,
bdi,
code {
  font-family: Consolas, monospace;
  direction: ltr;
  unicode-bidi: isolate;
}
.boot {
  padding: 20vh;
  text-align: center;
}
.primary {
  background: #132e38;
  color: white;
  border-color: #132e38;
}
.primary:hover {
  background: #22515d;
}
.accent {
  background: #65cec1;
  border-color: #65cec1;
  color: #132e38;
}
.danger {
  color: #b64747;
}
.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 246px;
  background: #132e38;
  color: #a8bfc6;
  padding: 25px 17px;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  padding: 0 8px 28px;
  direction: ltr;
  justify-content: flex-end;
}
.brand img {
  width: 43px;
}
.brand strong {
  display: block;
  font-size: 23px;
  letter-spacing: -0.5px;
}
.brand small {
  display: block;
  color: #7c9da5;
  font-size: 10px;
  letter-spacing: 2px;
}
.nav-caption {
  font-size: 10px;
  color: #75969e;
  padding: 8px 13px;
  letter-spacing: 0.6px;
}
.sidebar nav {
  overflow: auto;
  flex: 1;
}
.nav-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  color: #b8cbd0;
  margin: 3px 0;
  border-radius: 8px;
  font-size: 13px;
  position: relative;
}
.nav-item:hover {
  background: #1b3a45;
  color: white;
}
.nav-item.active {
  background: #234a53;
  color: #8fe1d7;
}
.nav-item.active:after {
  content: "";
  position: absolute;
  right: 0;
  width: 3px;
  height: 22px;
  background: #65cec1;
  border-radius: 3px;
}
.side-footer {
  padding: 18px 10px 0;
  border-top: 1px solid #2c4751;
  font-size: 11px;
}
.connection-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #65cec1;
  border-radius: 50%;
  margin-left: 6px;
}
.workspace {
  margin-right: 246px;
}
.topbar {
  height: 80px;
  background: #fff;
  border-bottom: 1px solid #e5ebed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 36px;
  gap: 20px;
}
.project-label {
  display: flex;
  align-items: center;
  gap: 13px;
}
.project-label > span {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #edf5f4;
  width: 40px;
  height: 40px;
  color: #408e87;
}
.project-label select {
  border: 0;
  background: transparent;
  max-width: 300px;
  font-weight: bold;
  color: #183944;
  padding: 0;
}
.top-tools {
  display: flex;
  gap: 18px;
  align-items: center;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8f2ef;
  display: grid;
  place-items: center;
  color: #35786f;
  font-weight: bold;
}
.user-button {
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
}
.main {
  max-width: 1580px;
  margin: auto;
  padding: 30px 36px 48px;
}
.breadcrumb {
  color: #8b9ba1;
  font-size: 11px;
  margin-bottom: 15px;
}
.heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.heading p {
  font-size: 12px;
  color: #829298;
  margin-top: 3px;
}
.heading-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.badge {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border-radius: 5px;
  padding: 3px 8px;
  background: #e9f2ef;
  color: #337e6f;
  font-size: 10px;
  white-space: nowrap;
}
.badge.amber {
  background: #fff4e0;
  color: #a9792e;
}
.badge.red {
  background: #fcebe8;
  color: #b45248;
}
.badge.gray {
  background: #edf1f3;
  color: #73828b;
}
.contextbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 1px solid #e2e9eb;
  border-radius: 10px;
  padding: 12px 17px;
  margin-bottom: 20px;
  gap: 12px;
  font-size: 12px;
}
.filters {
  display: flex;
  gap: 9px;
  align-items: center;
}
.filters input,
.filters select {
  border: 1px solid #e1e8ea;
  border-radius: 6px;
  padding: 5px 8px;
  background: #fff;
  color: #294751;
  max-width: 165px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 20px;
}
.card {
  background: white;
  border: 1px solid #e2e9eb;
  border-radius: 12px;
  padding: 22px;
}
.kpi {
  position: relative;
  min-height: 158px;
}
.kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #768a93;
  font-size: 12px;
}
.kpi-icon {
  background: #eff6f4;
  border-radius: 8px;
  padding: 7px;
  color: #4b8b83;
}
.amount {
  font-size: 30px;
  font-weight: bold;
  direction: ltr;
  display: inline-block;
  margin-top: 10px;
  letter-spacing: -1px;
}
.amount small {
  font-size: 11px;
  font-weight: 400;
  color: #91a2a8;
  margin-left: 6px;
  letter-spacing: 0;
}
.kpi-note {
  font-size: 11px;
  color: #8c9ba1;
  margin-top: 5px;
}
.grid-two {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.card-title p {
  font-size: 11px;
  color: #95a2a8;
  margin-top: 5px;
}
.cost-chart {
  height: 230px;
  display: flex;
  align-items: flex-end;
  gap: 28px;
  justify-content: space-evenly;
  padding: 15px 30px 35px;
  border-bottom: 1px solid #e4ebed;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 49px,
    #edf2f3 50px
  );
}
.bar-col {
  height: 100%;
  width: 65px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.bar-col strong {
  font-size: 12px;
  margin-bottom: 5px;
  font-weight: 400;
}
.bar {
  width: 45px;
  background: #65cec1;
  border-radius: 5px 5px 0 0;
  min-height: 2px;
}
.bar-col:nth-child(2) .bar {
  background: #224b58;
}
.bar-col:nth-child(3) .bar {
  background: #98b2bb;
}
.bar-col:nth-child(4) .bar {
  background: #c4d9d9;
}
.bar-col label {
  position: absolute;
  bottom: -28px;
  white-space: nowrap;
  font-size: 11px;
  color: #83949d;
}
.forecast-panel {
  background: #193c47;
  color: white;
  border: 0;
}
.forecast-panel .muted {
  color: #92afb7;
}
.forecast-panel .card-title {
  margin-bottom: 20px;
}
.forecast-number {
  font-size: 42px;
  font-weight: bold;
  direction: ltr;
  display: inline-block;
  margin-bottom: 6px;
}
.forecast-number small {
  font-size: 12px;
  color: #9cb9c0;
  font-weight: 400;
}
.forecast-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #36535d;
  padding: 11px 0;
  font-size: 12px;
}
.forecast-row strong {
  color: #94e1d6;
}
.progress-track {
  height: 7px;
  background: #355762;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  margin: 20px 0 13px;
  direction: ltr;
}
.progress-track span {
  height: 100%;
  background: #65cec1;
}
.progress-track span + span {
  background: #9ab5bd;
}
.legend {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #aac2c8;
}
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 20px;
}
.quality-item {
  padding: 4px 18px;
  border-left: 1px solid #e7ecee;
}
.quality-item:last-child {
  border: 0;
}
.quality-item p {
  font-size: 12px;
  margin: 10px 0 3px;
}
.quality-item small {
  font-size: 10px;
  color: #99a6ac;
}
.callout {
  border: 1px solid #f0e0c4;
  background: #fffbf3;
  color: #946b2d;
  padding: 12px 17px;
  border-radius: 9px;
  font-size: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.table-wrap {
  overflow: auto;
  border-radius: 10px;
  border: 1px solid #e2e9eb;
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  white-space: nowrap;
}
th {
  font-size: 11px;
  background: #f8fafb;
  color: #8a9aa1;
  font-weight: 400;
  padding: 13px 18px;
}
td {
  padding: 15px 18px;
  border-top: 1px solid #edf1f2;
  font-size: 12px;
}
td strong {
  font-weight: 400;
}
td button {
  font-size: 11px;
  padding: 5px 9px;
}
.table-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.table-name .icon {
  color: #6a969a;
}
.tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 17px;
  flex-wrap: wrap;
}
.tabs button {
  border: 0;
  color: #81969d;
  background: transparent;
  border-radius: 6px;
}
.tabs .active {
  background: #e0efeb;
  color: #287c70;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 12px;
}
.search {
  width: 260px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  padding: 9px 12px;
  background: white;
}
.empty {
  padding: 65px 20px;
  text-align: center;
  color: #8c9ca2;
}
.empty .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: #9cbbb9;
}
.empty h3 {
  color: #536f79;
  margin-bottom: 8px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 12px;
  color: #8a9ca3;
}
.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.integration-card h3 {
  direction: ltr;
  text-align: right;
  margin: 15px 0 4px;
}
.integration-card p {
  font-size: 11px;
  color: #91a1a7;
  margin: 10px 0;
}
.integration-logo {
  width: 40px;
  height: 40px;
  border: 1px solid #dce8e7;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: monospace;
  color: #41847e;
  font-size: 17px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e6edef;
  padding: 22px 26px;
}
.modal-head button {
  border: 0;
  background: transparent;
  font-size: 22px;
  padding: 0 8px;
}
dialog {
  border: 0;
  border-radius: 15px;
  padding: 0;
  width: min(850px, 94vw);
  max-height: 90vh;
  color: #19343d;
  box-shadow: 0 24px 100px #102e3855;
}
dialog::backdrop {
  background: #102e3877;
  backdrop-filter: blur(3px);
}
.modal-body {
  padding: 24px 26px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.field.full {
  grid-column: 1/-1;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d6e1e5;
  border-radius: 7px;
  background: #fff;
  color: #29434c;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field textarea.json {
  font:
    12px/1.8 Consolas,
    monospace;
  direction: ltr;
  min-height: 180px;
  background: #f7fafb;
  tab-size: 2;
}
.field small {
  color: #8b9ca3;
  font-size: 10px;
}
.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #e7edef;
  padding-top: 18px;
  margin-top: 22px;
}
.form-error {
  color: #af453f;
  background: #fff0ed;
  border-radius: 8px;
  padding: 12px;
  margin-top: 16px;
  font-size: 12px;
  display: none;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.detail-item {
  padding: 10px;
  background: #f7f9fa;
  border-radius: 7px;
  overflow-wrap: anywhere;
}
.detail-item small {
  display: block;
  color: #879ba2;
  margin-bottom: 5px;
}
pre {
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.8 Consolas,
    monospace;
  background: #f2f6f7;
  border-radius: 8px;
  padding: 16px;
  max-height: 340px;
  overflow: auto;
}
details summary {
  cursor: pointer;
  color: #70918f;
  font-size: 12px;
  margin: 15px 0;
}
.timeline {
  padding: 12px 0;
}
.timeline div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eaf0f1;
  font-size: 12px;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  z-index: 100;
  background: #193b45;
  color: white;
  box-shadow: 0 5px 30px #14303a30;
  padding: 14px 22px;
  border-radius: 10px;
  display: none;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.login-art {
  background: #132e38;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12%;
  color: white;
  position: relative;
  overflow: hidden;
}
.login-art h1 {
  font-size: 42px;
  line-height: 1.6;
  margin: 30px 0 18px;
}
.login-art p {
  color: #9fbec5;
  font-size: 14px;
  line-height: 2.2;
}
.login-art img {
  width: 75px;
}
.login-art .brand-word {
  font-family: Arial, sans-serif;
  font-size: 20px;
  color: #65cec1;
  letter-spacing: 4px;
  margin-top: 18px;
}
.login-shape {
  height: 160px;
  display: flex;
  gap: 22px;
  align-items: flex-end;
  margin-top: 55px;
  direction: ltr;
}
.login-shape span {
  width: 50px;
  border: 1px solid #4e8b8c;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(#65cec155, #65cec108);
}
.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-form form {
  width: 360px;
}
.login-form h2 {
  font-size: 26px;
  margin-bottom: 10px;
}
.login-form .field {
  margin: 22px 0;
}
.login-form .primary {
  width: 100%;
  padding: 13px;
}
.login-foot {
  font-size: 11px;
  color: #a4b2b6;
  margin-top: 28px;
  text-align: center;
}
.metric-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
}
.metric-list .card {
  padding: 18px;
}
.metric-list .amount {
  font-size: 25px;
}
.mobile-menu {
  display: none;
}
.footer-note {
  margin-top: 26px;
  font-size: 10px;
  color: #9aabb0;
  display: flex;
  justify-content: space-between;
}
.link-button {
  border: 0;
  background: transparent;
  color: #408f86;
  padding: 2px;
}
.stack {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #edf1f3;
}
.summary-line:last-child {
  border: 0;
}
.summary-line span {
  font-size: 12px;
  color: #8b9ba3;
}
@media (max-width: 1250px) {
  .sidebar {
    width: 215px;
  }
  .workspace {
    margin-right: 215px;
  }
  .main {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .kpis {
    gap: 12px;
  }
  .kpi {
    padding: 16px;
  }
  .amount {
    font-size: 25px;
  }
  .grid-two {
    grid-template-columns: 1.4fr 1fr;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 195px;
    padding: 20px 10px;
  }
  .workspace {
    margin-right: 195px;
  }
  .nav-item {
    font-size: 11px;
  }
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .top-tools > .small {
    display: none;
  }
  .heading {
    align-items: flex-start;
  }
  .heading-actions {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  .sidebar {
    display: none;
    width: 246px;
  }
  .sidebar.open {
    display: flex;
  }
  .workspace {
    margin: 0;
  }
  .mobile-menu {
    display: block;
  }
  .main {
    padding: 20px 16px;
  }
  .topbar {
    padding: 0 16px;
    height: 70px;
  }
  .project-label select {
    max-width: 190px;
  }
  .top-tools {
    gap: 8px;
  }
  .user-button span {
    display: none;
  }
  h1 {
    font-size: 23px;
  }
  .heading {
    flex-direction: column;
    gap: 10px;
  }
  .heading-actions {
    width: 100%;
  }
  .contextbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .kpi {
    min-height: 145px;
  }
  .amount {
    font-size: 25px;
  }
  .quality-item {
    padding: 4px 8px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .search {
    width: 100%;
  }
  .integration-grid,
  .form-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .metric-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 30px;
  }
  .login-art h1 {
    font-size: 28px;
    margin: 15px 0;
  }
  .login-art p,
  .login-shape {
    display: none;
  }
  .login-art img {
    width: 45px;
  }
  .login-form {
    padding: 35px 25px;
  }
  .footer-note {
    flex-direction: column;
    gap: 7px;
  }
  .topbar .project-label > span {
    display: none;
  }
}
.line-editor {
  display: block;
}
.line-row {
  background: #f7fafb;
  border: 1px solid #e0e9eb;
  border-radius: 9px;
  padding: 14px;
  margin-bottom: 14px;
}
.line-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64868b;
  font-size: 11px;
  margin-bottom: 12px;
}
.line-top button {
  padding: 0 8px;
  background: transparent;
  border: 0;
  font-size: 20px;
}
.line-row .form-grid {
  gap: 12px;
}
.line-row label {
  font-size: 11px;
}
