:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #e8eff7;
  background: #0b1118;
  color-scheme: dark;
  font-size: 15px;
  line-height: 1.55;
}
.testing-badge {
  background: #fce7b4;
  color: #543607;
  padding: 0.4rem 0.7rem;
  border-radius: 0.4rem;
  font-size: 0.75rem;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #8dd9ff;
}
button,
.button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  border: 1px solid #354353;
  border-radius: 9px;
  background: #172331;
  color: #dce9f4;
  padding: 10px 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:hover,
.button:hover {
  background: #20364a;
  border-color: #71bcec;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #68d7ff;
  outline-offset: 3px;
}
.primary {
  background: #58c4ee;
  color: #08131f;
  font-weight: 750;
  border-color: #58c4ee;
}
.primary:hover {
  background: #9ee7ff;
  color: #08131f;
}
.danger {
  color: #ffaaa4;
}
header {
  min-height: 88px;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #243242;
  background: #101a25;
}
.brand {
  color: #e8eff7;
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}
.brand b {
  background: #55c8ef;
  color: #0c1928;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 27px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #91a7b9;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.private-label {
  font-size: 12px;
  color: #92a8ba;
}
.eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.17em;
  color: #79cbee;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(29px, 3.4vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.14;
  margin: 0 0 20px;
}
h2 {
  font-size: 21px;
  margin: 0 0 12px;
}
h3 {
  font-size: 15px;
  margin: 20px 0 9px;
}
p {
  margin: 10px 0 18px;
  color: #b7c7d6;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: #c8d7e5;
  margin: 13px 0;
}
input,
select,
textarea {
  border: 1px solid #3a4d60;
  background: #0d1722;
  color: #e6f1fc;
  border-radius: 8px;
  padding: 11px 12px;
  max-width: 100%;
  width: 100%;
}
textarea {
  min-height: 105px;
  resize: vertical;
  line-height: 1.65;
}
select {
  min-height: 46px;
}
input[type='checkbox'] {
  width: auto;
}
.show-code {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.login {
  max-width: 580px;
  padding: 80px 26px;
  margin: 0 auto;
}
.login > p {
  font-size: 17px;
}
.login form {
  margin: 35px 0;
}
.login .primary {
  width: 100%;
  margin: 12px 0;
}
.login > .muted {
  font-size: 13px;
}
.muted {
  color: #8ea4b6;
  font-size: 13px;
}
.error,
.warning {
  color: #ffb8a1;
}
.error {
  overflow-wrap: anywhere;
}
.saved {
  color: #87d9b5;
}
.saving {
  color: #b8dff8;
}
.dashboard {
  max-width: 1240px;
  margin: auto;
  padding: 45px 28px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-bottom: 35px;
}
.page-heading p {
  max-width: 650px;
}
.metric {
  border-left: 1px solid #34485b;
  padding: 20px 35px;
  display: flex;
  flex-direction: column;
  color: #90a8bc;
}
.metric strong {
  color: #8bd6f6;
  font-size: 52px;
}
.panel,
.code-card {
  background: #111d29;
  border: 1px solid #2a3d4e;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 20px;
  align-items: end;
}
.form-grid button {
  margin: 13px 0;
  min-height: 46px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.workspace-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 20px;
}
.workspace-cards .panel {
  margin: 0 0 15px;
}
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.pill {
  display: inline-block;
  border: 1px solid #34526a;
  border-radius: 999px;
  padding: 4px 10px;
  color: #95cbe9;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
}
.pill.warning {
  color: #ffc09a;
  border-color: #7d5a35;
}
progress {
  width: 100%;
  height: 8px;
  accent-color: #65ccef;
}
.code-card {
  border-color: #5494ad;
  background: #142d3b;
}
.code-card code {
  display: block;
  font-size: 21px;
  overflow-wrap: anywhere;
  background: #0b1a25;
  padding: 18px;
  border-radius: 8px;
  margin: 15px 0;
  user-select: all;
}
.code-card button {
  margin-right: 10px;
}
summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}
.notice {
  border-left: 3px solid #73c7ec;
  background: #172d3d;
  padding: 14px 18px;
  color: #c1deef;
  border-radius: 5px;
  white-space: pre-wrap;
}
.workspace-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: calc(100vh - 88px);
}
aside {
  padding: 27px 18px;
  background: #101a25;
  border-right: 1px solid #253647;
  display: flex;
  flex-direction: column;
}
.assignment {
  padding: 0 10px 20px;
  border-bottom: 1px solid #263746;
  margin-bottom: 20px;
}
.assignment p {
  font-size: 12px;
  margin-bottom: 9px;
}
.assignment .eyebrow {
  font-size: 10px;
}
.assignment h2 {
  font-size: 23px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
nav button {
  border-color: transparent;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  color: #a6bbcf;
}
nav button.active {
  background: #18354a;
  color: #8edfff;
  border-color: #315d78;
}
nav .eyebrow {
  margin: 27px 12px 10px;
}
.aside-bottom {
  margin-top: 30px;
  border-top: 1px solid #2b3d4f;
  padding: 20px 9px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aside-bottom p {
  font-size: 11px;
  margin-top: 8px;
}
.aside-bottom .button {
  font-size: 12px;
  text-align: center;
}
.workspace-main {
  padding: 25px 35px;
  min-width: 0;
}
.workspace-toolbar {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  border-bottom: 1px solid #263747;
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.workspace-toolbar #save-status {
  font-size: 12px;
  max-width: 65%;
  white-space: pre-wrap;
}
.workspace-toolbar button {
  font-size: 12px;
}
.guide {
  max-width: 1000px;
  padding-top: 25px;
}
.guide .lead {
  font-size: 18px;
  max-width: 760px;
}
.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin: 35px 0;
}
.guide-steps article {
  background: #121f2c;
  border: 1px solid #2c3f51;
  border-radius: 12px;
  padding: 23px;
}
.guide-steps b {
  color: #64c5ee;
  font-size: 32px;
}
.guide-steps h2 {
  font-size: 18px;
  margin-top: 20px;
}
.guide-steps p {
  font-size: 14px;
}
.guide > .primary {
  margin-bottom: 35px;
}
.text-filters {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(100px, 1fr));
  gap: 12px;
}
.text-columns {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.3fr);
  gap: 23px;
  margin-top: 17px;
}
.text-columns > section {
  min-width: 0;
}
.entry-list {
  max-height: calc(100vh - 345px);
  min-height: 300px;
  overflow: auto;
  border: 1px solid #2f4154;
  border-radius: 10px;
  background: #101b27;
}
.entry-list button {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid #25394b;
  border-radius: 0;
  padding: 15px;
}
.entry-list button.selected {
  background: #1a374e;
  box-shadow: inset 3px 0 #66d4fc;
}
.entry-list code {
  font-size: 10px;
  color: #7dbfe2;
  overflow-wrap: anywhere;
}
.entry-list span,
.entry-list small {
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-list small {
  color: #9cb5ca;
}
.entry-list b {
  font-size: 10px;
  color: #89d4b8;
}
.entry-detail {
  background: #121f2c;
  border: 1px solid #2f4357;
  padding: 24px;
  border-radius: 12px;
  align-self: start;
}
.entry-detail > code {
  font-size: 11px;
  color: #9ac8e3;
  overflow-wrap: anywhere;
}
.entry-detail label {
  margin-top: 22px;
}
.source-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
  font-size: 14px;
}
.target-text {
  background: #192d3e;
  padding: 14px;
  border-radius: 8px;
  color: #dfedf7;
}
.device-stage {
  margin: 24px auto;
  background: #101a25;
  border: 1px solid #344c63;
  border-radius: 16px;
  padding: 9px;
  width: 100%;
}
.device-stage iframe {
  display: block;
  width: 100%;
  height: 780px;
  border: 0;
  border-radius: 9px;
  background: #10151b;
}
.device-stage.phone {
  max-width: 420px;
}
.device-stage.tablet {
  max-width: 1180px;
}
.device-stage.wide {
  max-width: none;
}
.loading {
  padding: 50px;
}
.login form .error:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .text-columns {
    grid-template-columns: minmax(300px, 0.7fr) minmax(450px, 1.3fr);
  }
}
@media (max-width: 1000px) {
  .workspace-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .workspace-main {
    padding: 22px;
  }
  .text-filters {
    grid-template-columns: 1fr 1fr;
  }
  .guide-steps {
    grid-template-columns: 1fr;
  }
  .text-columns {
    grid-template-columns: 1fr;
  }
  .entry-list {
    max-height: 250px;
    min-height: 150px;
  }
  .private-label {
    max-width: 220px;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 650px) {
  header {
    padding: 15px;
    gap: 10px;
  }
  .brand {
    font-size: 15px;
  }
  .brand b {
    width: 34px;
    height: 34px;
  }
  .brand small {
    font-size: 8px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .private-label {
    display: none;
  }
  .header-actions button {
    font-size: 12px;
  }
  .workspace-layout {
    display: block;
  }
  aside {
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid #304254;
  }
  .assignment {
    padding: 0 0 10px;
    margin-bottom: 10px;
  }
  .assignment h2 {
    font-size: 19px;
  }
  .assignment .eyebrow,
  .assignment > p:not(:last-child) {
    display: none;
  }
  nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 180px;
    overflow: auto;
  }
  nav .eyebrow {
    grid-column: 1/-1;
    margin: 13px 10px 4px;
  }
  nav button {
    font-size: 12px;
    padding: 8px;
  }
  .aside-bottom {
    margin: 14px 0 0;
    padding: 12px 0 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .aside-bottom p {
    display: none;
  }
  .workspace-main {
    padding: 20px 15px;
  }
  .workspace-toolbar {
    gap: 9px;
    margin-bottom: 22px;
    flex-wrap: wrap;
  }
  .workspace-toolbar #save-status {
    max-width: 100%;
  }
  .workspace-toolbar .pill {
    display: none;
  }
  .dashboard {
    padding: 30px 16px;
  }
  .page-heading {
    display: block;
  }
  .metric {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 18px;
  }
  .guide {
    padding-top: 0;
  }
  .guide .lead {
    font-size: 16px;
  }
  .section-heading {
    align-items: start;
    flex-wrap: wrap;
  }
  .entry-detail {
    padding: 18px;
  }
  .text-filters {
    gap: 9px;
  }
  .text-filters .search-label {
    grid-column: 1/-1;
  }
  .text-columns {
    gap: 16px;
  }
  .login {
    padding-top: 48px;
  }
  .device-stage iframe {
    height: 700px;
  }
}
