:root {
  font-family:
    Inter,
    Segoe UI,
    system-ui,
    sans-serif;
  color: #202d3d;
  background: #f5f6f9;
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #6a99e1;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.sidebar {
  width: 248px;
  background: #142438;
  color: #b5c0ce;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 35px 23px 24px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.wordmark {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 750;
  display: flex;
  align-items: center;
  color: #fff;
  gap: 9px;
}
.railmark {
  display: inline-grid;
  place-items: center;
  border: 1px solid #ffffff3b;
  background: #ffffff12;
  border-radius: 9px;
  width: 36px;
  height: 36px;
  font-size: 24px;
  color: #9db8e7;
}
.core-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #a5b3c6;
  border: 1px solid #ffffff32;
  padding: 4px 5px;
  border-radius: 4px;
  margin-left: 3px;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #7f91aa;
  margin-top: 43px;
  margin-bottom: 17px;
}
.organisation-mark {
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #ffffff12;
  padding-bottom: 25px;
  margin-bottom: 19px;
}
.organisation-mark strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #e5eaf2;
}
.organisation-mark small {
  font-size: 10px;
  color: #8799af;
}
.org-symbol {
  border-radius: 9px;
  background: #32557d;
  color: #edf4ff;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
}
.sidebar nav a {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 12px;
  margin: 5px 0;
  border-radius: 7px;
  font-size: 12px;
  transition: background 0.15s;
}
.sidebar nav a:hover {
  background: #ffffff0a;
  color: white;
}
.sidebar nav a.selected {
  background: #2d4563;
  color: #fff;
}
.sidebar nav a span {
  font-size: 18px;
  width: 20px;
  line-height: 18px;
}
.nav-divider {
  border-top: 1px solid #ffffff15;
  margin: 23px 0;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 10px;
  line-height: 1.8;
  color: #9aaac0;
}
.sidebar-bottom small {
  display: block;
  color: #71859e;
  margin-left: 12px;
}
.connection-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #7bb6a5;
  border-radius: 50%;
  margin-right: 5px;
}
.switch-account {
  display: block;
  border-top: 1px solid #ffffff1a;
  padding-top: 15px;
  margin-top: 18px;
  color: #c4cddd;
}
.workspace {
  margin-left: 248px;
}
.test-strip {
  background: #fff5dd;
  color: #7b5b25;
  font-size: 10px;
  padding: 10px 38px;
  border-bottom: 1px solid #f0e6d0;
  letter-spacing: 0.1px;
}
.test-strip span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  border: 1px solid #d8b873;
  padding: 3px 6px;
  margin-right: 10px;
  border-radius: 3px;
}
.topbar {
  height: 76px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid #e8ecf1;
  font-size: 11px;
  color: #718096;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
}
.account b {
  display: block;
  font-size: 11px;
  color: #334457;
}
.account small {
  font-size: 10px;
  text-transform: capitalize;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8edf5;
  color: #466185;
  font-weight: 700;
}
.text-button {
  background: none;
  border: 0;
  color: #7a8797;
  font-size: 10px;
  padding: 8px;
}
.workspace main {
  padding: 38px;
  max-width: 1600px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #6283a7;
  margin: 0 0 11px;
}
h1 {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 0 0 9px;
}
h2 {
  font-size: 15px;
  font-weight: 650;
  margin: 0 0 7px;
  letter-spacing: -0.2px;
}
h3 {
  font-size: 14px;
  margin: 22px 0 9px;
}
.muted {
  color: #7a8798;
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.button.primary {
  background: #285682;
  color: #fff;
  box-shadow: 0 2px 3px #162d4515;
}
.button.primary:hover {
  background: #21476d;
}
.button.secondary {
  background: #fff;
  border-color: #dae1e8;
  color: #44556c;
}
.button.danger {
  background: #fff3f1;
  color: #a44636;
  border-color: #efd5cf;
}
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}
.stats article {
  position: relative;
  padding: 22px;
  background: #fff;
  border: 1px solid #e2e7ee;
  border-radius: 9px;
  box-shadow: 0 3px 6px #25385002;
}
.stats article p {
  font-size: 11px;
  color: #758397;
  margin: 0 0 9px;
}
.stats strong {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 650;
  display: block;
  margin-bottom: 9px;
}
.stats small {
  font-size: 9px;
  color: #8a96a5;
}
.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #6283a8;
  background: #edf2f8;
  border-radius: 8px;
  font-size: 17px;
}
.stats .stat-icon {
  position: absolute;
  right: 19px;
  top: 20px;
}
.stat-icon.amber {
  color: #ad883e;
  background: #faf3e5;
}
.stat-icon.green {
  color: #528a74;
  background: #edf6f1;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 18px;
}
.subtle-label {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #8c98a9;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 32px;
}
.module-card {
  display: flex;
  flex-direction: column;
  min-height: 182px;
  background: #fff;
  border: 1px solid #e2e7ee;
  border-radius: 9px;
  padding: 20px;
  position: relative;
}
.module-card.installed {
  border-color: #9cb2cc;
  box-shadow: inset 0 3px 0 #466c98;
}
.module-card .badge {
  position: absolute;
  right: 18px;
  top: 20px;
}
.module-card h3 {
  margin: 17px 0 7px;
}
.module-card p {
  font-size: 10px;
  line-height: 1.7;
  color: #8390a0;
  margin: 0 0 18px;
  max-width: 90%;
}
.module-card a {
  font-size: 10px;
  font-weight: 650;
  color: #486f9c;
  margin-top: auto;
}
.module-card .coming {
  font-size: 9px;
  color: #a0aaba;
  margin-top: auto;
}
.badge {
  font-size: 8px;
  letter-spacing: 0.8px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 4px;
  background: #eef2f6;
  color: #78879a;
  white-space: nowrap;
}
.badge.active {
  color: #3d7c62;
  background: #ecf5ef;
}
.badge.warning {
  color: #946f25;
  background: #fff3d8;
}
.panel {
  background: #fff;
  border: 1px solid #e2e7ee;
  border-radius: 9px;
  margin-bottom: 25px;
  overflow: hidden;
}
.panel-heading {
  padding: 22px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.panel-heading h2 {
  margin-bottom: 4px;
}
.search {
  width: 190px;
  border: 1px solid #e0e5eb;
  border-radius: 5px;
  padding: 9px 12px;
  font-size: 10px;
  background: #fafbfd;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: #8592a3;
  background: #fafbfc;
  padding: 12px 22px;
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
}
td {
  font-size: 10px;
  color: #67778b;
  padding: 16px 22px;
  border-bottom: 1px solid #edf0f4;
}
td strong {
  color: #3b4f66;
  font-size: 11px;
}
td small {
  display: block;
  font-size: 9px;
  color: #93a0af;
  margin-top: 5px;
}
td .button {
  padding: 6px 9px;
  font-size: 9px;
  margin-right: 6px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.bottom-grid .panel {
  margin: 0;
}
.environment-panel {
  background: #eaf0f7;
  border: 1px solid #dce5ef;
  padding: 25px;
  border-radius: 9px;
}
.environment-panel h2 {
  margin-top: 16px;
}
.environment-panel p {
  font-size: 11px;
  line-height: 1.8;
  color: #718397;
}
.environment-panel a {
  font-size: 10px;
  font-weight: 650;
  color: #476b96;
}
.list-body {
  padding: 0 23px 23px;
}
.notification {
  padding: 13px 0;
  border-bottom: 1px solid #edf0f4;
  font-size: 11px;
  color: #5c6f87;
}
.notification small {
  display: block;
  font-size: 9px;
  color: #98a3b0;
  margin-top: 5px;
}
.notification button {
  float: right;
}
.empty {
  color: #8d9bad;
  font-size: 11px;
  padding: 18px 0;
}
.workspace footer {
  padding: 25px 38px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #99a5b3;
  border-top: 1px solid #e4e9ef;
  margin-top: 40px;
}
.tabs {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid #dce3ec;
  margin-bottom: 26px;
  overflow-x: auto;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 0;
  font-size: 11px;
  color: #7d8da0;
  white-space: nowrap;
}
.tabs button.active {
  color: #285682;
  border-bottom-color: #285682;
}
.form-area {
  padding: 0 23px 25px;
  max-width: 850px;
}
.form-area > p {
  font-size: 11px;
  line-height: 1.8;
  color: #7a8798;
}
label {
  display: block;
  font-size: 11px;
  color: #63758a;
  margin: 16px 0 8px;
}
label input:not([type="checkbox"]),
label select {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #dce3eb;
  border-radius: 5px;
  background: #fff;
  padding: 10px;
  color: #34475e;
  font-size: 12px;
}
label input[type="color"] {
  height: 40px;
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
}
fieldset {
  border: 1px solid #e1e6ed;
  padding: 10px 15px;
  border-radius: 6px;
  margin: 15px 0;
  font-size: 11px;
  color: #74869c;
}
fieldset .check {
  font-size: 10px;
  margin: 7px 0;
}
.integration-item,
.group-item {
  padding: 18px 0;
  border-bottom: 1px solid #e6ebf1;
  font-size: 11px;
}
.integration-item select {
  padding: 7px;
  margin: 0 8px;
  border: 1px solid #dce3eb;
  border-radius: 5px;
}
.integration-item label {
  display: inline-flex;
  gap: 7px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 80px);
  transform: translateX(-50%);
  max-width: 550px;
  background: #1f3b56;
  color: #fff;
  padding: 14px 20px;
  border-radius: 7px;
  box-shadow: 0 5px 25px #15253630;
  z-index: 100;
  font-size: 12px;
}
.login-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at 20% 0, #203c5c, #132237 65%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #263b53;
  padding: 48px 20px;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 36px;
}
.login-brand > span:last-child {
  font-size: 9px;
  letter-spacing: 2px;
  color: #93abc8;
}
.login-card {
  background: #fff;
  border: 1px solid #ffffff50;
  border-radius: 14px;
  padding: 38px;
  width: min(480px, 100%);
  box-shadow: 0 20px 90px #0003;
}
.login-card h1 {
  font-size: 29px;
  line-height: 1.2;
}
.login-card .muted {
  font-size: 12px;
  margin: 13px 0 25px;
}
.login-card label {
  margin-top: 19px;
}
.login-card label select {
  padding: 13px;
  font-size: 12px;
  background: #fafbfd;
}
.login-card .button {
  width: 100%;
  margin-top: 22px;
  padding: 14px;
  font-size: 12px;
}
.test-note {
  background: #f1f5fa;
  padding: 17px;
  border-radius: 7px;
  margin-top: 25px;
  font-size: 10px;
  color: #75879d;
  line-height: 1.7;
}
.test-note b {
  color: #526b86;
}
.test-note p {
  margin: 5px 0;
}
.login-footer {
  font-size: 8px;
  color: #8096b2;
  letter-spacing: 1.6px;
  margin-top: 25px;
}
.core-editorbar {
  background: #142438;
  color: #c2cfdf;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 11px;
}
.core-editorbar a {
  color: #dbe7f6;
}
.core-editorbar span {
  color: #efcb7d;
  margin-left: auto;
}
.core-editor .app-header {
  top: 0;
}
.core-editor .core-editorbar a:hover {
  text-decoration: underline;
}
@media (min-width: 1600px) {
  .workspace main {
    padding-top: 45px;
  }
  .module-card {
    min-height: 200px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 210px;
    padding: 28px 17px;
  }
  .workspace {
    margin-left: 210px;
  }
  .workspace main {
    padding: 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .stats {
    gap: 12px;
  }
  .stats article {
    padding: 18px;
  }
  .stats .stat-icon {
    right: 13px;
    width: 25px;
    height: 25px;
  }
  .stats article p {
    max-width: 90px;
  }
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 18px;
  }
  .wordmark {
    font-size: 23px;
  }
  .workspace-label,
  .organisation-mark,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    margin-top: 10px;
  }
  .sidebar nav a {
    white-space: nowrap;
    padding: 8px;
    font-size: 10px;
  }
  .sidebar nav a span,
  .nav-divider {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .workspace main {
    padding: 23px 17px;
  }
  .test-strip {
    padding: 9px 17px;
    font-size: 8px;
  }
  .test-strip span {
    font-size: 7px;
  }
  .topbar {
    height: 65px;
    padding: 0 17px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  h1 {
    font-size: 26px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stats article {
    padding: 16px;
  }
  .stats strong {
    font-size: 27px;
  }
  .stats article p {
    font-size: 10px;
  }
  .stats small {
    font-size: 8px;
  }
  .module-grid {
    gap: 10px;
  }
  .module-card {
    padding: 16px;
    min-height: 190px;
  }
  .module-card .badge {
    position: static;
    align-self: flex-start;
    margin-top: 12px;
  }
  .module-card h3 {
    margin-top: 13px;
    font-size: 12px;
  }
  .module-card p {
    font-size: 9px;
    max-width: 100%;
  }
  .section-title {
    gap: 10px;
  }
  .subtle-label {
    font-size: 7px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .panel-heading {
    padding: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  th,
  td {
    padding: 12px 15px;
  }
  .workspace footer {
    padding: 23px 17px;
    gap: 15px;
    line-height: 1.8;
  }
  .toast {
    left: 50%;
    width: 90%;
  }
  .core-editorbar {
    padding: 10px 13px;
    gap: 12px;
    font-size: 9px;
    flex-wrap: wrap;
  }
  .core-editorbar span {
    margin-left: 0;
  }
  .form-area {
    padding: 0 17px 22px;
  }
}

/* Keep grid/flex children inside the viewport; wide records scroll in their panel. */
.platform .workspace,
.platform main,
.platform section,
.platform fieldset,
.platform .account,
.platform .account > div,
.platform .page-heading > div {
  min-width: 0;
}
.platform .table-scroll {
  max-width: 100%;
  overscroll-behavior-x: contain;
}
.platform textarea {
  font: inherit;
  max-width: 100%;
}
.platform .sidebar {
  overflow-y: auto;
}
.platform .button,
.platform .text-button,
.platform .tabs button {
  min-height: 44px;
}
.platform input:not([type="checkbox"]):not([type="radio"]),
.platform select {
  min-height: 44px;
}
@media (max-width: 960px) {
  .platform {
    font-size: 16px;
    line-height: 1.5;
  }
  .platform .sidebar nav a {
    font-size: 14px;
    min-height: 44px;
    flex-shrink: 0;
  }
  .platform .topbar {
    height: auto;
    min-height: 76px;
    padding: 14px 17px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .platform .account {
    width: 100%;
  }
  .platform .account b,
  .platform .account small {
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .platform .account .text-button {
    margin-left: auto;
  }
  .platform .button,
  .platform .text-button,
  .platform .tabs button,
  .platform .muted,
  .platform label,
  .platform td,
  .platform td strong,
  .platform .module-card p,
  .platform .module-card a,
  .platform .empty,
  .platform .notification,
  .platform .form-area > p {
    font-size: 14px;
  }
  .platform .module-card h3,
  .platform h2 {
    font-size: 18px;
  }
  .platform .stats article p,
  .platform .stats small,
  .platform td small,
  .platform .test-strip,
  .platform .badge,
  .platform .environment-panel p {
    font-size: 12px;
  }
  .platform .test-strip {
    line-height: 1.8;
  }
  .platform .stats .stat-icon {
    position: static;
    margin-bottom: 10px;
  }
  .platform .stats article p {
    max-width: none;
  }
  .platform input:not([type="checkbox"]):not([type="radio"]),
  .platform select,
  .platform label input:not([type="checkbox"]),
  .platform label select,
  .platform textarea {
    font-size: 16px;
    max-width: 100%;
  }
  .platform .search {
    width: 100%;
  }
  .platform .workspace footer {
    flex-wrap: wrap;
    font-size: 12px;
  }
  .platform .module-card {
    min-height: 200px;
  }
  .platform .module-card .coming {
    font-size: 12px;
  }
  .platform .login-card .muted {
    font-size: 15px;
  }
  .core-editorbar {
    font-size: 13px;
  }
  .core-editorbar a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (max-width: 480px) {
  .platform .module-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .platform .module-card {
    min-height: 170px;
  }
  .platform .page-heading .button {
    width: 100%;
    white-space: normal;
  }
}
@media (pointer: coarse) {
  .core-editor button,
  .core-editor .btn,
  .core-editor input:not([type="checkbox"]):not([type="radio"]),
  .core-editor select {
    min-height: 44px;
  }
  .core-editor input:not([type="checkbox"]):not([type="radio"]),
  .core-editor select,
  .core-editor textarea {
    font-size: 16px;
  }
}

/* Long editor actions must fit their form column in landscape. */
.core-editor .button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  .platform .sidebar nav {
    flex-wrap: wrap;
    overflow: visible;
    gap: 4px;
  }
  .platform .sidebar nav a {
    margin: 0;
  }
  .platform .sidebar {
    padding: 16px;
  }
  .platform .stats article {
    padding: 14px;
  }
  .platform .stats .stat-icon {
    float: right;
    margin: 0 0 4px 6px;
  }
  .platform .stats strong {
    font-size: 28px;
    margin-bottom: 4px;
  }
  .platform .stats small {
    display: block;
    clear: both;
  }
  .platform .section-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .platform .subtle-label {
    font-size: 11px;
  }
  .platform #records-body {
    display: block;
  }
  .platform table:has(#records-body),
  .platform table:has(#records-body) tbody {
    width: 100%;
  }
  .platform table:has(#records-body) thead {
    display: none;
  }
  .platform #records-body tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 16px;
    gap: 12px;
    border-top: 1px solid #dce3eb;
  }
  .platform #records-body td {
    display: block;
    padding: 0;
    border: 0;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .platform #records-body td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 650;
    color: #62748a;
    margin-bottom: 4px;
  }
  .platform #records-body td:first-child,
  .platform #records-body td:last-child {
    grid-column: 1 / -1;
  }
  .platform #records-body td:first-child strong {
    font-size: 16px;
  }
  .platform #records-body td:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .platform #records-body td:last-child::before {
    display: none;
  }
  .platform #records-body .button {
    margin: 0;
    min-width: 80px;
  }
}
:root {
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  .platform {
    background: #101927;
    color: #e3ebf5;
  }
  .platform .topbar,
  .platform .panel,
  .platform .stats article,
  .platform .module-card,
  .platform .legal-page main,
  .platform.legal-page main,
  .platform .login-card,
  .platform #create-organisation-dialog {
    background: #192639;
    border-color: #34465d;
    color: #e3ebf5;
  }
  .platform h1,
  .platform h2,
  .platform h3,
  .platform .account b,
  .platform td strong {
    color: #edf3fc;
  }
  .platform .muted,
  .platform .stats article p,
  .platform .stats small,
  .platform .module-card p,
  .platform td,
  .platform td small,
  .platform label,
  .platform .empty,
  .platform .notification,
  .platform .coming,
  .platform .legal-text {
    color: #bac8da;
  }
  .platform .button.secondary,
  .platform input,
  .platform select,
  .platform textarea,
  .platform label input:not([type="checkbox"]),
  .platform label select {
    background: #142035;
    color: #e3ebf5;
    border-color: #52637a;
  }
  .platform th,
  .platform .portal-setup,
  .platform .environment-panel {
    background: #142035;
    color: #bdccdf;
    border-color: #34465d;
  }
  .platform .table-scroll td,
  .platform #records-body tr,
  .platform .workspace footer {
    border-color: #34465d;
  }
  .platform #records-body td::before,
  .platform .account small,
  .platform .text-button,
  .platform .module-card a,
  .platform .subtle-label,
  .platform .search {
    color: #bdccdf;
  }
  .platform .badge {
    background: #293c54;
    color: #d4e1f1;
  }
  .platform .badge.active {
    background: #153e32;
    color: #a3e8c7;
  }
  .platform .badge.warning {
    background: #493914;
    color: #f8dc9a;
  }
  .platform .portal-alert {
    background: #493914;
    color: #f8dc9a;
  }
  .platform .environment-panel p,
  .platform .environment-panel a {
    color: #bdccdf;
  }
}
