* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    16px Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #15263b;
  background: #f6f8fa;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 218px;
  background: #fff;
  border-right: 1px solid #dde3e9;
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  z-index: 2;
}
.brand {
  height: 86px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 7px;
}
.brand img {
  width: 122px;
}
.workspace,
.profile {
  display: flex;
  align-items: center;
  gap: 11px;
}
.workspace {
  border: 1px solid #dde3e9;
  border-radius: 8px;
  padding: 10px;
  margin: 2px 0 14px;
}
.ws,
.profile b,
.avatar {
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #e9f2fc;
  color: #226eb0;
  font-weight: 700;
}
.ws {
  width: 32px;
  height: 32px;
  background: #153959;
  color: white;
}
.profile {
  margin-top: auto;
  padding: 18px 4px;
  border-top: 1px solid #e5eaf0;
}
.profile b {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
strong {
  font-size: 14px;
}
small {
  display: block;
  color: #637487;
  font-size: 12px;
  margin-top: 3px;
}
nav label,
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 1.35px;
  font-weight: 750;
  color: #6d8093;
  text-transform: uppercase;
}
nav label {
  margin: 22px 12px 7px;
}
button,
select,
input,
textarea {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
  background: white;
  border: 1px solid #d9e1e8;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 550;
}
button:hover {
  background: #eff5fb;
}
nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  text-align: left;
  padding: 10px 12px;
  color: #526579;
}
nav button.active {
  color: #096abb;
  background: #e8f3fd;
}
svg.icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.count {
  margin-left: auto;
  background: #fff0d8;
  color: #985909;
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 12px;
}
main {
  margin-left: 218px;
}
header {
  height: 61px;
  background: white;
  border-bottom: 1px solid #dde3e9;
  padding: 0 clamp(22px, 3vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #66788c;
}
header strong {
  color: #263b50;
}
header em {
  margin: 0 12px;
  color: #a4afbc;
}
.demo,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #e8f4ee;
  color: #227653;
  font-weight: 600;
}
.demo {
  background: #f4f7fa;
  color: #607384;
  border: 1px solid #e1e6eb;
}
.demo i {
  width: 6px;
  height: 6px;
  background: #5995b5;
  border-radius: 50%;
}
#view {
  max-width: 1650px;
  margin: auto;
  padding: 30px clamp(22px, 3vw, 52px) 40px;
}
.heading,
.panelhead,
.row,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.heading {
  margin-bottom: 24px;
}
.heading .eyebrow {
  color: #1c779e;
  margin-bottom: 8px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  letter-spacing: -1.5px;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.13;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.55px;
}
p {
  font-size: 14px;
  color: #627489;
  line-height: 1.5;
  margin-top: 5px;
}
.date {
  background: white;
  border: 1px solid #dce3e9;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13px;
  white-space: nowrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card,
article {
  background: white;
  border: 1px solid #dde4ea;
  border-radius: 12px;
}
.card {
  padding: 18px 20px;
}
.metric {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4f6276;
  font-size: 14px;
  font-weight: 600;
}
.symbol {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #1971b9;
  background: #e6f1fc;
}
.green {
  color: #168376;
  background: #e5f6f2;
}
.amber {
  color: #ac7414;
  background: #fff3d9;
}
.num {
  font-size: 36px;
  letter-spacing: -1.4px;
  font-weight: 650;
  margin: 10px 0 4px;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  gap: 16px;
  margin: 18px 0;
}
.panelhead {
  padding: 20px 20px 14px;
}
.panelhead p {
  font-size: 13px;
}
.panelhead select,
select,
input,
textarea {
  border: 1px solid #d8e1e9;
  border-radius: 6px;
  padding: 7px 9px;
  color: #42576c;
  background: white;
  font-size: 14px;
}
.chart {
  padding: 0 18px 12px;
}
.chart svg {
  display: block;
  width: 100%;
  height: 180px;
}
.queue {
  padding: 0 18px;
}
.issue {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: 0;
  border-top: 1px solid #e8edf1;
  border-radius: 0;
  padding: 13px 0;
}
.issue .symbol {
  width: 28px;
  height: 28px;
  flex: none;
}
.issue small {
  font-weight: 400;
}
.arrow {
  margin-left: auto;
  color: #94a2b0;
}
.link {
  color: #176da9;
  background: transparent;
  border: 0;
  padding: 5px;
}
.tablewrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  text-align: left;
}
th {
  background: #f6f8fa;
  color: #617385;
  font-size: 12px;
  font-weight: 600;
}
td,
th {
  padding: 12px 18px;
  white-space: nowrap;
  border-top: 1px solid #e7ecf0;
}
tbody tr[data-rep] {
  cursor: pointer;
}
tbody tr[data-rep]:hover {
  background: #f7fbfe;
}
.avatar {
  width: 30px;
  height: 30px;
  margin-right: 9px;
  font-size: 11px;
  border-radius: 50%;
  background: var(--tint, #e2edfb);
  color: #3e5973;
}
.state {
  background: #f1f4f7;
  border: 1px solid #e0e6eb;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 12px;
  margin-right: 4px;
}
.filters,
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 20px 14px;
}
.filters input {
  width: 200px;
}
.tabs {
  padding: 0;
  margin: 18px 0;
}
.tabs .active,
.primary {
  background: #126cb2;
  color: #fff;
  border-color: #126cb2;
}
.primary:hover {
  background: #10568c;
}
.box {
  padding: 20px;
}
.margin {
  margin-top: 18px;
}
.notice {
  padding: 15px 20px;
  color: #637487;
}
.pill.warn {
  background: #fff2db;
  color: #8d630d;
}
.pill.blue {
  background: #e9f3fc;
  color: #306f9f;
}
dialog {
  border: 1px solid #d2dce5;
  border-radius: 12px;
  width: min(440px, 92vw);
  padding: 24px;
  color: inherit;
}
dialog::backdrop {
  background: #14263b60;
}
form label {
  display: grid;
  gap: 6px;
  margin: 16px 0;
  font-size: 14px;
}
form textarea {
  min-height: 74px;
}
#toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #173b51;
  color: white;
  border-radius: 8px;
  padding: 12px 18px;
  display: none;
  z-index: 3;
}
nav {
  overflow: auto;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 1000px) {
  aside {
    width: 182px;
  }
  main {
    margin-left: 182px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  #view {
    padding: 22px 16px;
  }
  .card {
    padding: 14px;
  }
  .stats,
  .grid {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  aside {
    position: static;
    width: auto;
    padding: 0 10px;
  }
  .brand {
    height: 49px;
  }
  .brand img {
    width: 94px;
  }
  .workspace,
  .profile,
  nav label {
    display: none;
  }
  nav {
    display: flex;
    gap: 2px;
    padding-bottom: 7px;
  }
  nav button {
    width: auto;
    white-space: nowrap;
  }
  main {
    margin: 0;
  }
  header {
    height: 42px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metric {
    align-items: flex-start;
    flex-direction: column;
  }
  .num {
    font-size: 29px;
  }
  .card {
    padding: 10px;
  }
  .panelhead {
    flex-wrap: wrap;
  }
  .date {
    font-size: 12px;
  }
  #view {
    padding: 18px 12px;
  }
  .panelhead h2 {
    font-size: 18px;
  }
}
header {
  gap: 12px;
}
#switches,
.legend,
.toolbar,
.summaryline,
.checkrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
#switches label {
  font-size: 13px;
  font-weight: 600;
  color: #526579;
}
.workspace strong {
  font-size: 13px;
}
.workspace small {
  font-size: 13px;
}
footer {
  color: #667b8d;
  text-align: center;
  font-size: 12px;
  padding: 12px 16px 24px;
}
#view > article,
#view > .stats,
#view > .grid,
#view > .banner,
#view > .tabs {
  margin-bottom: 16px;
}
.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.amount {
  font: inherit;
  color: #146aa6;
  background: none;
  border: 0;
  border-radius: 3px;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: #a8ccdf;
  text-underline-offset: 4px;
}
.num .amount {
  text-decoration: none;
}
.pill.outline {
  background: white;
  color: #526a7b;
  border: 1px solid #99adbe;
}
.pill.muted {
  background: #edf0f3;
  color: #586a76;
}
.pill.red {
  background: #fce9e6;
  color: #a13728;
}
.legend,
.toolbar,
.summaryline {
  padding: 10px 20px 15px;
}
.summaryline {
  gap: 20px;
}
.summaryline > div small {
  margin: 0 0 5px;
}
.checks {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-height: 145px;
  overflow: auto;
  border: 1px solid #dae3ea;
  border-radius: 6px;
  padding: 8px;
}
.checks label,
.checkrow label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 13px;
}
.checks input {
  width: auto;
}
dialog {
  width: min(780px, 94vw);
  max-height: 90dvh;
  overflow: auto;
}
.modalactions {
  justify-content: flex-end;
  margin-top: 15px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.banner {
  border: 1px solid #dfc68d;
  background: #fff8e7;
  border-radius: 9px;
  padding: 13px 16px;
}
.tree {
  padding: 0 20px 15px;
}
.tree details {
  margin: 5px 0 5px 12px;
}
.tree summary {
  cursor: pointer;
  padding: 6px;
}
.tree .branch {
  margin: 6px 0 6px 25px;
}
.empty {
  white-space: normal;
  color: #65798b;
}
.sectionline {
  padding: 12px 20px;
  border-top: 1px solid #e4ebef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}
.sectionline small {
  font-weight: 400;
}
.statusgrid td {
  white-space: normal;
  min-width: 125px;
}
.actions {
  flex-wrap: wrap;
}
.detail-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.receipt {
  background: #f5f8fb;
  border-radius: 8px;
  padding: 14px 18px;
}
.tabs {
  flex-wrap: wrap;
}
.orgtag {
  margin-left: 8px;
}
.chartlegend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0 20px 12px;
  font-size: 12px;
  color: #566b80;
}
.chartlegend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  margin-right: 5px;
}
.profile small {
  font-size: 12px;
}
fieldset {
  border: 1px solid #dbe3e9;
  border-radius: 8px;
  margin: 12px 0;
  padding: 10px;
}
legend {
  font-size: 14px;
  color: #42586a;
}
nav label {
  margin: 12px 10px 5px;
}
nav button {
  padding: 8px 10px;
}
.brand {
  height: 75px;
  flex-shrink: 0;
}
.filters label {
  font-size: 13px;
}
.stack {
  display: grid;
  gap: 12px;
}
.weeklychart {
  display: block;
  width: 100%;
  height: 200px;
}
.creditcards {
  padding: 0 18px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.creditcards .card {
  padding: 12px;
}
.creditcards .num {
  font-size: 27px;
}
.mobileapp {
  padding: 14px 20px;
  border-top: 1px solid #e5ebf0;
}
.mobileapp .toolbar {
  padding: 10px 0 0;
}
.mobileapp small {
  line-height: 1.55;
}
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #3795cb;
}
#toast {
  z-index: 20;
}
@media (max-width: 760px) {
  header {
    height: auto;
    min-height: 46px;
    flex-wrap: wrap;
    padding: 8px 12px;
  }
  #crumb {
    display: none;
  }
  #switches {
    width: 100%;
    gap: 6px;
  }
  #switches select {
    max-width: 160px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .actions {
    justify-content: flex-start;
  }
  .tree {
    padding: 0 5px 10px;
  }
  .brand {
    height: 46px;
  }
  .profile {
    display: none;
  }
  .num {
    font-size: 26px;
  }
  .profileform {
    padding: 12px;
  }
  .tabs {
    gap: 5px;
  }
  .weeklychart {
    height: 145px;
  }
  .checks {
    max-height: 135px;
  }
  .heading {
    gap: 10px;
  }
  nav {
    flex-shrink: 0;
  }
  .filters input {
    max-width: 100%;
  }
  .panelhead {
    padding: 14px;
  }
  .sectionline {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  body[data-role="Rep"] nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
  }
  body[data-role="Rep"] nav button {
    display: grid;
    place-items: center;
    gap: 3px;
    font-size: 12px;
    padding: 5px 1px;
  }
  body[data-role="Rep"] .heading .actions {
    order: 2;
  }
  body[data-role="Rep"] .heading {
    align-items: center;
  }
}
