* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #090b0c;
  color: #edf0f0;
  font-family: "BBAlpha Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.35;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255,255,255,0.08);
}

.shell {
  width: 100%;
  max-width: 760px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 16px 24px;
  background: #111416;
  border-left: 1px solid #282d2f;
  border-right: 1px solid #282d2f;
}

.topbar {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  min-height: 78px;
  border-bottom: 1px solid #303638;
}

.brand-name {
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.brand-subtitle,
.panel-meta {
  margin-top: 4px;
  color: #8f999c;
  font-size: 12px;
}

.top-status,
.connection,
.health-band,
.section-head,
.service-row,
.attention-row,
.all-clear,
.facts,
.capacity-row,
.composer-actions,
.service-tools,
.segments {
  display: -webkit-flex;
  display: flex;
}

.top-status,
.connection,
.health-band,
.section-head,
.service-row,
.attention-row,
.all-clear,
.capacity-row {
  -webkit-align-items: center;
  align-items: center;
}

.connection {
  color: #aab2b4;
  font-size: 12px;
  font-weight: 800;
}

.connection-dot,
.health-dot,
.status-dot {
  display: block;
  width: 9px;
  height: 9px;
  -webkit-flex: 0 0 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #6d7679;
}

.connection-dot {
  margin-right: 6px;
}

.connection.online .connection-dot,
.connection.demo .connection-dot,
.status-dot.ok,
.all-clear .status-dot {
  background: #46b9a8;
}

.connection.denied .connection-dot,
.connection.loading .connection-dot,
.status-dot.warn {
  background: #d3aa55;
}

.connection.offline .connection-dot,
.status-dot.crit {
  background: #d26a6a;
}

.status-dot.unknown {
  background: #697477;
}

.clock {
  min-width: 58px;
  margin-left: 16px;
  padding-left: 14px;
  border-left: 1px solid #303638;
  text-align: right;
}

#clockTime {
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

#clockDate {
  color: #7f898c;
  font-size: 10px;
  font-weight: 800;
}

.tabs {
  display: -webkit-flex;
  display: flex;
  height: 51px;
  margin-bottom: 20px;
  border-bottom: 1px solid #303638;
}

.tab-btn {
  position: relative;
  -webkit-flex: 1 1 25%;
  flex: 1 1 25%;
  min-width: 0;
  padding: 0 5px;
  border: 0;
  background: transparent;
  color: #8f999c;
  font-size: 12px;
  font-weight: 800;
}

.tab-btn.active {
  color: #ffffff;
}

.tab-btn.active:after {
  position: absolute;
  right: 8px;
  bottom: -1px;
  left: 8px;
  height: 3px;
  background: #46b9a8;
  content: "";
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.panel-head,
.section-head {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.panel-head {
  min-height: 48px;
  margin-bottom: 14px;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 24px;
  line-height: 1.1;
}

h2 {
  font-size: 14px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #3b4346;
  border-radius: 5px;
  background: #191d1f;
  color: #ffffff;
  font-size: 22px;
  line-height: 38px;
}

.health-band {
  min-height: 76px;
  padding: 13px 0;
  border-top: 1px solid #303638;
  border-bottom: 1px solid #303638;
}

.health-dot {
  width: 13px;
  height: 13px;
  margin-right: 12px;
  -webkit-flex-basis: 13px;
  flex-basis: 13px;
}

.health-band.ok .health-dot {
  background: #46b9a8;
}

.health-band.warn .health-dot {
  background: #d3aa55;
}

.health-band.crit .health-dot {
  background: #d26a6a;
}

.health-copy {
  min-width: 0;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
}

.health-copy strong,
.health-copy span {
  display: block;
}

.health-copy strong {
  color: #ffffff;
  font-size: 17px;
}

.health-copy span {
  margin-top: 3px;
  color: #909a9d;
  font-size: 12px;
}

.health-age {
  min-width: 62px;
  margin-left: 10px;
  color: #7f898c;
  font-size: 11px;
  text-align: right;
}

.metric-grid {
  display: -webkit-flex;
  display: flex;
  margin: 16px -4px 24px;
}

.metric-card {
  width: calc(33.333% - 8px);
  min-width: 0;
  margin: 0 4px;
  padding: 12px;
  border: 1px solid #303638;
  border-radius: 6px;
  background: #171b1d;
}

.metric-label {
  color: #98a1a4;
  font-size: 11px;
  font-weight: 800;
}

.metric-value {
  margin-top: 7px;
  color: #ffffff;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

.metric-value span {
  margin-left: 2px;
  color: #7f898c;
  font-size: 12px;
}

.bar {
  height: 5px;
  margin-top: 12px;
  border-radius: 3px;
  background: #292f31;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #46b9a8;
}

.metric-card.warn .bar-fill {
  background: #d3aa55;
}

.metric-card.crit .bar-fill {
  background: #d26a6a;
}

.section-head {
  min-height: 35px;
  border-bottom: 1px solid #303638;
}

.count-badge {
  min-width: 34px;
  padding: 4px 7px;
  border: 1px solid #465053;
  border-radius: 5px;
  color: #c7cdcf;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.count-badge.ok {
  border-color: #347f74;
  color: #74d4c6;
}

.count-badge.warn {
  border-color: #816a35;
  color: #e0bd70;
}

.count-badge.crit {
  border-color: #8b4848;
  color: #e88888;
}

.count-badge.muted {
  color: #7f898c;
}

.attention-list {
  margin-bottom: 20px;
}

.attention-row,
.all-clear {
  min-height: 54px;
  border-bottom: 1px solid #262c2e;
}

.attention-row .status-dot,
.all-clear .status-dot {
  margin-right: 10px;
}

.attention-row.warn .status-dot {
  background: #d3aa55;
}

.attention-row.crit .status-dot {
  background: #d26a6a;
}

.attention-row strong,
.attention-row span {
  display: block;
}

.attention-row strong {
  font-size: 13px;
}

.attention-row span {
  margin-top: 2px;
  color: #899396;
  font-size: 11px;
}

.all-clear {
  color: #cdd3d4;
  font-size: 13px;
}

.facts {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -4px;
}

.fact {
  width: calc(33.333% - 8px);
  min-width: 0;
  margin: 4px;
  padding: 10px 11px;
  border-left: 2px solid #566266;
  background: #171b1d;
}

.fact span,
.fact strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fact span {
  color: #7f898c;
  font-size: 10px;
}

.fact strong {
  margin-top: 3px;
  font-size: 13px;
}

.service-tools {
  margin-bottom: 12px;
}

.search-input {
  min-width: 0;
  height: 40px;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0 11px;
  border: 1px solid #3a4346;
  border-radius: 5px;
  outline: none;
  background: #0d1011;
  color: #ffffff;
}

.search-input:focus {
  border-color: #46b9a8;
}

.segments {
  margin-left: 8px;
}

.segment-btn {
  min-width: 58px;
  height: 40px;
  padding: 0 9px;
  border: 1px solid #3a4346;
  background: #171b1d;
  color: #8f999c;
  font-size: 11px;
  font-weight: 800;
}

.segment-btn:first-child {
  border-radius: 5px 0 0 5px;
}

.segment-btn:last-child {
  margin-left: -1px;
  border-radius: 0 5px 5px 0;
}

.segment-btn.active {
  border-color: #46b9a8;
  background: #1c2928;
  color: #ffffff;
}

.service-list,
.capacity-list,
.inbox-list,
.system-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-list {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -4px;
}

.product-card {
  width: calc(50% - 8px);
  min-height: 166px;
  margin: 4px;
  padding: 12px;
  border: 1px solid #303638;
  border-top: 2px solid #46b9a8;
  border-radius: 6px;
  background: #171b1d;
}

.product-card.warn {
  border-top-color: #d3aa55;
}

.product-card.crit {
  border-top-color: #d26a6a;
}

.product-card.unknown {
  border-top-color: #697477;
}

.product-head,
.product-foot,
.site-row,
.system-row {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.product-head > div {
  min-width: 0;
}

.product-kind,
.product-head strong {
  display: block;
}

.product-kind {
  color: #7f898c;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-head strong {
  margin-top: 2px;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-status,
.site-state {
  min-width: 52px;
  margin-left: 8px;
  color: #74d4c6;
  font-size: 9px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.product-status.warn,
.site-state.warn {
  color: #e0bd70;
}

.product-status.crit,
.site-state.crit {
  color: #e88888;
}

.product-status.unknown,
.site-state.unknown {
  color: #889295;
}

.product-card p {
  min-height: 34px;
  margin: 12px 0;
  color: #9ca5a8;
  font-size: 11px;
}

.product-deploy {
  margin-bottom: 10px;
  color: #cad0d1;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-foot {
  padding-top: 9px;
  border-top: 1px solid #292f31;
  color: #758083;
  font-size: 9px;
}

.product-foot a {
  margin-left: 8px;
  color: #78cfc3;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.site-row {
  min-height: 60px;
  border-bottom: 1px solid #292f31;
  color: #edf0f0;
  text-decoration: none;
}

.site-row > .status-dot,
.system-row > .status-dot {
  margin-right: 10px;
}

.site-copy,
.site-copy strong,
.site-copy span,
.system-copy,
.system-copy strong,
.system-copy span {
  display: block;
  min-width: 0;
}

.site-copy,
.system-copy {
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
}

.site-copy strong,
.site-copy span,
.system-copy strong,
.system-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-copy strong,
.system-copy strong {
  font-size: 13px;
}

.site-copy span,
.system-copy span {
  margin-top: 2px;
  color: #7f898c;
  font-size: 10px;
}

.activity-head {
  margin-top: 20px;
}

.activity-list {
  margin-bottom: 20px;
}

.activity-row {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid #292f31;
}

.activity-row > .status-dot {
  margin-right: 10px;
}

.activity-copy {
  min-width: 0;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
}

.activity-copy strong,
.activity-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy strong {
  font-size: 12px;
}

.activity-copy span {
  margin-top: 2px;
  color: #7f898c;
  font-size: 10px;
}

.activity-time {
  min-width: 48px;
  margin-left: 8px;
  color: #737e81;
  font-size: 9px;
  text-align: right;
}

.activity-empty {
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #292f31;
}

.service-row {
  min-height: 57px;
  border-bottom: 1px solid #292f31;
}

.service-row > .status-dot {
  margin-right: 10px;
}

.service-copy {
  min-width: 0;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
}

.service-name,
.service-meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-name {
  font-size: 13px;
}

.service-meta {
  margin-top: 2px;
  color: #7f898c;
  font-size: 11px;
}

.service-state {
  min-width: 44px;
  margin-left: 8px;
  color: #78cfc3;
  font-size: 10px;
  font-weight: 900;
  text-align: right;
}

.service-state.warn {
  color: #dfbb6d;
}

.service-state.crit {
  color: #e48585;
}

.server-metrics {
  margin-top: 0;
  margin-bottom: 12px;
}

.server-section-head {
  margin-top: 22px;
}

.backup-band {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  min-height: 72px;
  padding: 11px 10px 11px 12px;
  border-top: 1px solid #303638;
  border-bottom: 1px solid #303638;
  border-left: 2px solid #46b9a8;
  background: #141819;
}

.backup-band.warn {
  border-left-color: #d3aa55;
}

.backup-band.crit {
  border-left-color: #d26a6a;
}

.backup-copy {
  min-width: 0;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
}

.backup-copy strong,
.backup-copy span,
.backup-side strong,
.backup-side span {
  display: block;
}

.backup-copy strong,
.backup-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backup-copy strong {
  font-size: 13px;
}

.backup-copy span,
.backup-side span {
  margin-top: 3px;
  color: #7f898c;
  font-size: 10px;
}

.backup-side {
  min-width: 76px;
  margin-left: 12px;
  text-align: right;
}

.backup-side strong {
  font-size: 14px;
}

.system-row {
  min-height: 61px;
  border-bottom: 1px solid #292f31;
}

.system-state {
  min-width: 68px;
  margin-left: 10px;
  text-align: right;
}

.system-state strong,
.system-state span {
  display: block;
}

.system-state strong {
  color: #74d4c6;
  font-size: 9px;
  text-transform: uppercase;
}

.system-state.warn strong {
  color: #e0bd70;
}

.system-state.crit strong {
  color: #e88888;
}

.system-state.unknown strong {
  color: #889295;
}

.system-state span {
  margin-top: 2px;
  color: #6f7a7d;
  font-size: 9px;
}

.ledger-card {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  min-height: 116px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid #347f74;
  border-radius: 6px;
  background: #17211f;
}

.ledger-label,
.ledger-side span {
  color: #8f999c;
  font-size: 11px;
}

.ledger-value {
  margin-top: 5px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
}

.ledger-copy {
  margin-top: 5px;
  color: #8f999c;
  font-size: 11px;
}

.ledger-side {
  min-width: 70px;
  margin-left: 12px;
  text-align: right;
}

.ledger-side span,
.ledger-side strong {
  display: block;
}

.ledger-side strong {
  margin-top: 4px;
  font-size: 20px;
}

.capacity-list {
  margin-top: 16px;
}

.capacity-row {
  -webkit-justify-content: space-between;
  justify-content: space-between;
  min-height: 61px;
  border-bottom: 1px solid #292f31;
}

.capacity-row strong,
.capacity-row span,
.capacity-value span {
  display: block;
}

.capacity-row strong {
  font-size: 13px;
}

.capacity-row span {
  margin-top: 2px;
  color: #7f898c;
  font-size: 10px;
}

.capacity-value {
  margin-left: 12px;
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.unavailable-state {
  padding: 46px 20px;
  border-top: 1px solid #303638;
  border-bottom: 1px solid #303638;
  text-align: center;
}

.unavailable-state strong,
.unavailable-state span {
  display: block;
}

.unavailable-state strong {
  font-size: 16px;
}

.unavailable-state span {
  margin-top: 5px;
  color: #7f898c;
  font-size: 12px;
}

.composer {
  padding-bottom: 16px;
  border-bottom: 1px solid #303638;
}

.composer textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  padding: 12px;
  resize: vertical;
  border: 1px solid #3a4346;
  border-radius: 5px;
  outline: none;
  background: #0d1011;
  color: #ffffff;
  font-size: 16px;
}

.composer textarea:focus {
  border-color: #46b9a8;
}

.composer-actions {
  margin-top: 9px;
}

.primary-btn,
.ghost-btn {
  min-height: 40px;
  border-radius: 5px;
  font-weight: 900;
}

.primary-btn {
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
  border: 1px solid #46b9a8;
  background: #46b9a8;
  color: #07110f;
}

.ghost-btn {
  min-width: 74px;
  margin-left: 8px;
  border: 1px solid #3a4346;
  background: #171b1d;
  color: #d6dbdc;
}

.inbox-list {
  margin-top: 10px;
}

.inbox-item {
  padding: 12px 0;
  border-bottom: 1px solid #292f31;
}

.inbox-text {
  color: #f2f3f3;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.inbox-meta {
  margin-top: 5px;
  color: #727c7f;
  font-size: 10px;
}

.empty-state {
  padding: 32px 10px;
  color: #7f898c;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 520px) {
  .shell {
    padding-right: 10px;
    padding-left: 10px;
  }

  .topbar {
    min-height: 68px;
  }

  .brand-name {
    font-size: 23px;
  }

  .brand-subtitle {
    font-size: 11px;
  }

  .connection {
    font-size: 11px;
  }

  .clock {
    margin-left: 10px;
    padding-left: 9px;
  }

  .tabs {
    margin-bottom: 14px;
  }

  .tab-btn {
    padding: 0 2px;
    font-size: 11px;
  }

  h1 {
    font-size: 21px;
  }

  .metric-card {
    padding: 10px 8px;
  }

  .metric-label {
    font-size: 10px;
  }

  .metric-value {
    font-size: 23px;
  }

  .fact {
    width: calc(50% - 8px);
  }

  .search-input {
    width: 1px;
  }

  .segment-btn {
    min-width: 52px;
    padding: 0 6px;
  }
}

@media (max-width: 350px) {
  .connection {
    display: none;
  }

  .metric-grid {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .metric-card {
    width: calc(50% - 8px);
    margin-bottom: 8px;
  }

  .product-card {
    width: calc(100% - 8px);
  }
}
