:root {
  --ink: #203a3b;
  --muted: #778584;
  --green: #0c6658;
  --lime: #dceec3;
  --bg: #f5f6f2;
  --line: #e5e9e2;
  --white: #fff;
  --radius: 15px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
[hidden] {
  display: none !important;
}
.shell {
  display: flex;
  min-height: 100vh;
}
aside {
  width: 245px;
  padding: 35px 23px;
  background: #fff;
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1.4px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.brandmark {
  display: inline-grid;
  place-items: center;
  background: var(--green);
  color: var(--lime);
  width: 35px;
  height: 35px;
  border-radius: 10px;
  font-style: italic;
  font-size: 31px;
}
.brand-dot {
  color: #76a87b;
  margin-left: -8px;
}
.workspace {
  display: flex;
  gap: 11px;
  padding: 17px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 38px 0 33px;
  font-weight: 600;
  font-size: 12px;
  align-items: center;
}
.workspace-icon {
  background: #eef0f9;
  color: #6158a8;
  padding: 8px;
  border-radius: 8px;
}
.workspace small,
.sidebar-bottom small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.nav-label,
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 650;
  color: var(--muted);
}
.nav-label {
  margin: 0 9px 13px;
}
nav {
  display: grid;
  gap: 6px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border-radius: 8px;
  text-align: left;
  color: #687776;
  font-size: 18px;
}
nav button span {
  font-size: 13px;
}
nav button.selected {
  background: #edf4ed;
  color: var(--green);
  font-weight: 650;
}
nav button:hover {
  background: #f4f6f0;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 8px 0;
  font-size: 12px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #79a977;
  border-radius: 50%;
  margin-right: 6px;
}
main {
  width: calc(100% - 245px);
  margin-left: 245px;
}
header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  background: #ffffff90;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumbs span {
  padding: 0 14px;
  color: #bac2bd;
}
.breadcrumbs b {
  color: #566966;
  font-weight: 500;
}
.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.avatar {
  background: #e9ede5;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 12px;
}
.content {
  padding: 36px 42px;
  max-width: 1540px;
  margin: auto;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0 28px;
}
h1 {
  font-weight: 550;
  font-size: 34px;
  letter-spacing: -1.4px;
  line-height: 1.2;
  margin: 11px 0;
}
.accent {
  color: #76a875;
}
p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0;
}
h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0;
}
small {
  font-size: 11px;
  color: var(--muted);
}
.primary,
.secondary {
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 3px 5px #0c665810;
}
.primary:hover {
  background: #085348;
}
.secondary {
  background: #fff;
  border: 1px solid var(--line);
}
.text-button {
  color: var(--green);
  font-size: 12px;
  padding: 10px 0;
  white-space: nowrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 25px;
}
.stat {
  padding: 21px 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6a7d76;
}
.stat-icon {
  color: #91a98e;
  font-size: 18px;
}
.stat strong {
  font-size: 34px;
  font-weight: 550;
  letter-spacing: -1px;
  display: block;
  margin: 15px 0 9px;
}
.stat small {
  font-size: 10px;
}
.stat:first-child {
  background: #ebf1e6;
  border-color: #e1e9dc;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.card-heading {
  padding: 24px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f0f2ec;
}
.card-heading p {
  font-size: 11px;
  margin: 6px 0 0;
}
.route-card {
  background: #edf2e7;
  padding: 27px;
  border-color: #e2e9da;
  margin-bottom: 20px;
}
.route-card h2 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 13px 0 27px;
}
.route-node {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
}
.route-node small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 400;
}
.max-logo,
.b24-logo,
.reply-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #fff;
  font-size: 20px;
  color: #695dcd;
}
.b24-logo {
  color: #20a6c1;
}
.reply-logo {
  color: var(--green);
}
.route-line {
  margin: 6px 0 6px 16px;
  color: #9bac8e;
  font-size: 20px;
}
.route-line span {
  font-size: 9px;
  margin-left: 20px;
  vertical-align: middle;
}
.route-foot {
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid #dce4d3;
  font-size: 10px;
  line-height: 1.7;
  color: #7d8c74;
}
.group-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 21px 25px;
  border-bottom: 1px solid #eff1eb;
}
.group-row:last-child {
  border: 0;
}
.group-icon {
  display: grid;
  place-items: center;
  background: #f0edf7;
  color: #7c6aa3;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.group-row:nth-child(2n) .group-icon {
  background: #eaf0f7;
  color: #6385a4;
}
.group-info {
  flex: 1;
  min-width: 0;
}
.group-info strong {
  font-size: 12px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.group-info small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
}
.pill {
  display: inline-block;
  border-radius: 5px;
  background: #edf3e9;
  color: #597b4e;
  font-size: 10px;
  padding: 5px 8px;
  white-space: nowrap;
}
.pill.warn {
  background: #fff2dc;
  color: #a77d27;
}
.pill.error {
  background: #fbece6;
  color: #b96648;
}
.pill.neutral {
  background: #eef0f1;
  color: #788a90;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  color: #9aa59f;
  font-weight: 500;
  font-size: 10px;
  padding: 15px 23px;
  background: #fdfefb;
  white-space: nowrap;
}
td {
  padding: 17px 23px;
  border-top: 1px solid #eff1eb;
  vertical-align: middle;
}
td small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
}
.ticket-number {
  color: var(--green);
  font-weight: 600;
}
.empty {
  padding: 42px 25px;
  color: #88958a;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.table-wrap {
  overflow: auto;
}
.padded {
  padding: 26px;
}
.binding-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.binding-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}
.binding-details strong {
  display: block;
  margin-top: 7px;
  font-size: 13px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}
.banner {
  padding: 12px 17px;
  background: #fff3da;
  border: 1px solid #f1e3c3;
  border-radius: 8px;
  color: #8b7543;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 25px;
}
#toast {
  position: fixed;
  bottom: 26px;
  right: 28px;
  z-index: 50;
  padding: 16px 22px;
  border-radius: 10px;
  max-width: 460px;
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 25px #0002;
  font-size: 13px;
}
footer {
  margin: 0 42px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9aa69d;
  border-top: 1px solid var(--line);
}
input,
select,
textarea {
  background: #fff;
  border: 1px solid #dce3d9;
  border-radius: 7px;
  padding: 11px 12px;
  width: 100%;
  color: var(--ink);
  outline: none;
  max-width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #6c9d8a;
  box-shadow: 0 0 0 3px #0c665811;
}
textarea {
  resize: vertical;
}
label {
  display: block;
  font-size: 12px;
  margin: 17px 0;
  color: #5c7068;
}
label input,
label select,
label textarea {
  margin-top: 8px;
}
.search {
  width: 270px;
}
#job-filter {
  width: 180px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 17px;
}
dialog {
  width: 620px;
  max-width: 95vw;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 18px 100px #172d2930;
  color: var(--ink);
}
dialog::backdrop {
  background: #203a3b55;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.icon-button {
  font-size: 26px;
}
.hint {
  font-size: 11px;
  margin: 17px 0;
}
.login-card {
  max-width: 530px;
  margin: 55px auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.login-card h1 {
  font-size: 39px;
  margin: 20px 0;
}
.login-card small {
  display: block;
  margin-top: 24px;
  line-height: 1.6;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.6;
  background: #f6f7f3;
  padding: 15px;
  border-radius: 8px;
}
.mini-body {
  background: #f4f6ef;
}
.mini-wrapper {
  max-width: 610px;
  margin: 40px auto;
  padding: 0 24px;
}
.mini-brand {
  margin-bottom: 33px;
}
.mini-card {
  padding: 30px;
}
.mini-card h1 {
  font-size: 29px;
  letter-spacing: -1px;
}
.mini-card .primary {
  width: 100%;
  margin-top: 15px;
}
.mini-card textarea {
  min-height: 150px;
}
.file-drop {
  display: block;
  padding: 22px;
  background: #f7f9f3;
  border: 1px dashed #b9cbb2;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  color: var(--green);
}
.file-drop input {
  font-size: 11px;
  margin-top: 12px;
}
.file-item {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.checkmark {
  display: grid;
  place-items: center;
  background: #edf5e4;
  color: var(--green);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  font-size: 30px;
  margin: 15px auto;
}
.success {
  text-align: center;
  padding: 20px;
}
.mini-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 11px;
  color: var(--muted);
}
@media (min-width: 1550px) {
  .content {
    padding-top: 45px;
  }
  .overview-grid {
    grid-template-columns: 1fr 330px;
  }
}
@media (max-width: 1120px) {
  aside {
    width: 210px;
    padding: 30px 17px;
  }
  main {
    margin-left: 210px;
    width: calc(100% - 210px);
  }
  .content {
    padding: 28px 24px;
  }
  header {
    padding: 0 24px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .route-card {
    display: none;
  }
  h1 {
    font-size: 28px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .page-title {
    align-items: flex-start;
  }
  .page-title .primary {
    margin-top: 20px;
  }
}
@media (max-width: 760px) {
  aside {
    position: static;
    width: auto;
    padding: 17px;
    border-right: 0;
  }
  .shell {
    display: block;
  }
  .brand {
    font-size: 23px;
  }
  .brandmark {
    width: 29px;
    height: 29px;
    font-size: 25px;
  }
  .workspace,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 20px;
  }
  nav button {
    padding: 10px;
    font-size: 0;
    white-space: nowrap;
  }
  nav button span {
    font-size: 11px;
  }
  main {
    margin: 0;
    width: 100%;
  }
  header {
    height: 58px;
  }
  .content {
    padding: 22px 16px;
  }
  .page-title {
    display: block;
  }
  h1 {
    font-size: 28px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .settings-grid,
  .binding-details {
    grid-template-columns: 1fr;
  }
  .card-heading {
    padding: 20px;
    align-items: flex-start;
  }
  .card-heading .text-button {
    font-size: 10px;
  }
  .group-row {
    padding: 18px;
  }
  .group-row .pill {
    font-size: 9px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .breadcrumbs {
    font-size: 10px;
  }
  .page-title .primary {
    margin-top: 12px;
  }
  footer {
    margin: 0 16px;
  }
  footer span {
    display: none;
  }
  td,
  th {
    padding: 14px;
  }
  .mini-wrapper {
    margin-top: 25px;
    padding: 0 16px;
  }
  .mini-card {
    padding: 23px;
  }
  .mini-brand {
    margin-bottom: 24px;
  }
  .search {
    margin-top: 15px;
    width: 100%;
  }
}

.mini-wrapper {
  width: auto;
}
