.account-body {
  background: #050706;
}

.customer-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.customer-sidebar {
  background: #080b09;
  border-right: 1px solid #202723;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 22px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.customer-brand {
  padding: 0 8px 22px;
}

.customer-sidebar nav {
  display: grid;
  gap: 3px;
}

.customer-sidebar nav > span {
  color: #657068;
  font-size: 11px;
  font-weight: 800;
  margin: 20px 10px 7px;
  text-transform: uppercase;
}

.customer-sidebar nav a {
  align-items: center;
  border-left: 2px solid transparent;
  color: #9aa39d;
  display: flex;
  font-size: 14px;
  font-weight: 650;
  justify-content: space-between;
  min-height: 40px;
  padding: 9px 11px;
}

.customer-sidebar nav a:hover,
.customer-sidebar nav a.active {
  background: #101612;
  border-left-color: #7ee3a0;
  color: #f2f7f3;
}

.customer-sidebar nav a b {
  background: #233d2b;
  border-radius: 999px;
  color: #a8edbd;
  font-size: 11px;
  min-width: 21px;
  padding: 2px 6px;
  text-align: center;
}

.customer-sidebar-user {
  border-top: 1px solid #202723;
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding: 18px 9px 2px;
}

.customer-sidebar-user span {
  color: #aeb8b1;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.customer-sidebar-user button,
.security-layout aside button {
  background: transparent;
  border: 0;
  color: #7f8982;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.customer-sidebar-user button:hover,
.security-layout aside button:hover {
  color: #eef7f1;
}

.customer-main {
  min-width: 0;
}

.customer-topbar {
  align-items: center;
  background: rgba(5, 7, 6, .94);
  border-bottom: 1px solid #202723;
  display: flex;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px 34px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.customer-topbar > div:first-child {
  display: grid;
  gap: 2px;
}

.customer-topbar span {
  color: #778179;
  font-size: 12px;
}

.customer-topbar strong {
  font-size: 14px;
}

.customer-content {
  margin: 0 auto;
  max-width: 1260px;
  padding: 38px 34px 24px;
}

.beta-customer-content {
  max-width: 1360px;
}

.beta-customer-content .beta-workspace {
  padding-top: 0;
}

.beta-customer-content .beta-notice {
  margin-top: 0;
}

.customer-heading {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.customer-heading h1 {
  font-size: 40px;
  margin: 7px 0 6px;
}

.customer-heading p:not(.terminal-eyebrow) {
  color: #929c95;
  margin: 0;
}

.account-notice {
  background: #0b1b10;
  border: 1px solid #285c37;
  border-radius: 6px;
  color: #a8edbd;
  margin-bottom: 24px;
  padding: 13px 16px;
}

.account-notice.is-warning {
  background: #1b170b;
  border-color: #665221;
  color: #f0d395;
}

.account-onboarding {
  background: linear-gradient(135deg, rgba(19, 32, 24, .92), rgba(9, 14, 11, .96));
  border: 1px solid #314239;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 45px rgba(0, 0, 0, .18);
  margin-bottom: 20px;
  overflow: hidden;
}

.account-onboarding > header {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 24px 18px;
}

.account-onboarding > header span {
  color: #84a18f;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-onboarding h2 {
  font-size: 24px;
  margin: 3px 0 0;
}

.account-onboarding > header > strong {
  color: #9ce9b2;
  font-size: 28px;
}

.onboarding-progress {
  background: #19221c;
  height: 5px;
  margin: 0 24px;
  overflow: hidden;
}

.onboarding-progress i {
  background: linear-gradient(90deg, #72d995, #9ce9b2);
  display: block;
  height: 100%;
  transition: width .35s ease;
  width: 0;
}

.onboarding-message {
  color: #98a49c;
  font-size: 13px;
  padding: 14px 24px 5px;
}

.onboarding-message.is-warning {
  color: #f0d395;
}

.onboarding-message.is-complete {
  color: #9ce9b2;
}

.onboarding-steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0 24px;
}

.onboarding-steps li {
  align-items: center;
  border-top: 1px solid #27332c;
  display: grid;
  gap: 14px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  min-height: 66px;
  padding: 11px 0;
}

.onboarding-steps li > span {
  border: 1px solid #49544d;
  border-radius: 999px;
  color: #a4ada7;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 7px;
  text-align: center;
  text-transform: uppercase;
}

.onboarding-steps li.is-complete > span {
  background: #102b19;
  border-color: #39704a;
  color: #a7ecba;
}

.onboarding-steps li > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.onboarding-steps strong {
  color: #e4ebe6;
  font-size: 14px;
}

.onboarding-steps small {
  color: #78847c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.onboarding-steps a {
  color: #9ce9b2;
  font-size: 12px;
  font-weight: 750;
}

.onboarding-next {
  align-items: center;
  background: rgba(3, 6, 4, .42);
  border-top: 1px solid #314239;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 8px;
  padding: 15px 24px;
}

.onboarding-next span {
  color: #b5beb8;
  font-size: 13px;
  font-weight: 700;
}

.onboarding-next .btn {
  margin: 0;
  width: auto;
}

.account-metrics {
  border: 1px solid #252d28;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.account-metrics article {
  background: #0a0e0b;
  min-width: 0;
  padding: 19px 21px;
}

.account-metrics article + article {
  border-left: 1px solid #252d28;
}

.account-metrics span,
.account-metrics small {
  color: #778179;
  display: block;
  font-size: 12px;
}

.account-metrics strong {
  display: block;
  font-size: 23px;
  margin: 5px 0 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-columns {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  margin-bottom: 20px;
}

.account-section {
  background: #0a0e0b;
  border: 1px solid #252d28;
  min-width: 0;
  padding: 24px;
}

.account-section > header {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.account-section > header span:first-child,
.account-section > header small {
  color: #78827b;
  font-size: 12px;
}

.account-section h2 {
  font-size: 23px;
  margin: 2px 0 0;
}

.account-state {
  background: #191d1a;
  border: 1px solid #343b36;
  border-radius: 999px;
  color: #a3aca6;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  text-transform: capitalize;
  white-space: nowrap;
}

.account-state.is-active {
  background: #0e2415;
  border-color: #295d38;
  color: #92e8aa;
}

.account-section dl {
  margin: 0 0 20px;
}

.account-section dl div {
  align-items: center;
  border-bottom: 1px solid #202723;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 11px 0;
}

.account-section dt {
  color: #7f8982;
}

.account-section dd {
  font-weight: 700;
  margin: 0;
  text-align: right;
}

.account-section form .btn,
.account-section > .btn {
  width: 100%;
}

.account-help {
  color: #78827b;
  font-size: 12px;
  margin: 9px 0 0;
}

.installer-section > p {
  color: #919b94;
  margin: -4px 0 18px;
}

.terminal-dot {
  background: #7ee3a0;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(126, 227, 160, .09);
  height: 8px;
  margin-top: 8px;
  width: 8px;
}

.installer-command {
  align-items: stretch;
  background: #030604;
  border: 1px solid #26362c;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.installer-command code {
  color: #9ce9b2;
  display: block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-x: auto;
  padding: 15px;
  white-space: nowrap;
}

.installer-command .btn {
  border-width: 0 0 0 1px;
  border-radius: 0;
  margin: 0;
  width: 76px;
}

.account-table-section {
  margin-bottom: 20px;
  padding: 0;
}

.release-centre-section {
  margin-bottom: 20px;
  padding: 0;
}

.release-centre-section > header {
  margin: 0;
  padding: 21px 24px;
}

.release-loading,
.release-current header > b {
  background: #0e2415;
  border: 1px solid #295d38;
  border-radius: 999px;
  color: #92e8aa;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  white-space: nowrap;
}

.release-centre-content {
  border-top: 1px solid #252d28;
}

.release-current {
  padding: 24px;
}

.release-current > header {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 17px;
}

.release-current header > div {
  display: grid;
  gap: 4px;
}

.release-current h3,
.release-history h3 {
  font-size: 19px;
  margin: 0;
}

.release-current small,
.release-history-row time,
.release-history-row small {
  color: #778179;
  font-size: 12px;
}

.release-channel {
  color: #9ce9b2;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.release-copy,
.release-current details p,
.release-history-row details p {
  color: #9ba59e;
  line-height: 1.65;
  white-space: pre-line;
}

.release-current details,
.release-history-row > details,
.release-integrity {
  border-top: 1px solid #202723;
  margin-top: 14px;
  padding-top: 12px;
}

.release-current summary,
.release-history-row summary {
  color: #b8c1bb;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.release-integrity code {
  color: #9ce9b2;
  display: block;
  font-size: 12px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.release-history {
  border-top: 1px solid #252d28;
  padding: 21px 24px 8px;
}

.release-history > h3 {
  margin-bottom: 10px;
}

.release-history-row {
  border-top: 1px solid #202723;
  padding: 0 0 15px;
}

.release-history-row > summary {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 15px 0 0;
}

.release-history-row > summary span {
  display: grid;
  gap: 2px;
}

.release-history-row > .release-copy,
.release-history-row > details {
  margin-left: 18px;
}

.account-table-section > header {
  margin: 0;
  padding: 21px 24px;
}

.account-table {
  border-top: 1px solid #252d28;
  overflow-x: auto;
}

.account-table table {
  border-collapse: collapse;
  min-width: 650px;
  width: 100%;
}

.account-table th,
.account-table td {
  border-bottom: 1px solid #202723;
  padding: 14px 24px;
  text-align: left;
}

.account-table th {
  color: #737d76;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-table td {
  color: #c8d0cb;
  font-size: 13px;
}

.account-table td code {
  color: #a6e9b9;
}

.account-table td > strong {
  display: block;
}

.device-version-state {
  display: block;
  font-size: 11px;
  margin-top: 4px;
}

.device-version-state.is-current {
  color: #92e8aa;
}

.device-version-state.is-update {
  color: #f0d395;
}

.device-connection {
  align-items: center;
  color: #9aa49d;
  display: inline-flex;
  font-size: 12px;
  font-weight: 750;
  gap: 7px;
  white-space: nowrap;
}

.device-connection::before {
  background: #69736c;
  border-radius: 50%;
  content: '';
  height: 7px;
  width: 7px;
}

.device-connection.is-online {
  color: #9ce9b2;
}

.device-connection.is-online::before {
  background: #74e49a;
  box-shadow: 0 0 0 4px rgba(116, 228, 154, .09);
}

.device-connection.is-recent {
  color: #c8d8cd;
}

.device-connection.is-recent::before {
  background: #9bc9aa;
}

.device-connection.is-offline {
  color: #d4bd8b;
}

.device-connection.is-offline::before {
  background: #c8a85f;
}

.device-poll-note {
  align-items: center;
  border-top: 1px solid #252d28;
  color: #778179;
  display: flex;
  font-size: 11px;
  gap: 9px;
  margin: 0;
  padding: 11px 24px;
}

.device-live-dot {
  background: #74e49a;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.redeem-row {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 18px 24px 22px;
}

.redeem-row label {
  color: #a9b2ac;
  font-weight: 700;
}

.redeem-row > div {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.redeem-row input,
.security-section input,
.customer-mfa-security input,
.account-login-grid input {
  background: #050806;
  border: 1px solid #303a33;
  border-radius: 6px;
  color: #eef7f1;
  font: inherit;
  min-width: 0;
  padding: 12px 13px;
}

.account-mfa-challenge {
  margin: 0 auto;
  max-width: 560px;
  padding: 96px 24px 72px;
}

.account-mfa-challenge .checkout-form {
  display: grid;
  gap: 14px;
}

.account-mfa-challenge .brand {
  margin-bottom: 8px;
}

.customer-mfa-code {
  font-family: var(--mono, ui-monospace, monospace) !important;
  font-size: 18px !important;
  letter-spacing: .12em;
}

.customer-mfa-security,
.customer-mfa-recovery {
  margin-bottom: 22px;
}

.customer-mfa-security > p,
.customer-mfa-recovery > p {
  color: #8d9790;
  margin: 0 0 20px;
}

.customer-mfa-setup,
.customer-mfa-actions {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-mfa-setup > div,
.customer-mfa-setup form,
.customer-mfa-actions form {
  background: #080c0a;
  border: 1px solid #252d28;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.customer-mfa-setup span,
.customer-mfa-security label {
  color: #aeb7b1;
  display: grid;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
}

.customer-mfa-setup code {
  color: #b8f5c9;
  overflow-wrap: anywhere;
}

.customer-mfa-actions h3 {
  margin: 0;
}

.customer-mfa-recovery-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.customer-mfa-recovery-grid code {
  background: #050806;
  border: 1px solid #303a33;
  border-radius: 6px;
  color: #b8f5c9;
  padding: 10px;
  text-align: center;
}

.account-empty {
  display: grid;
  gap: 3px;
  padding: 8px 0;
}

.account-empty span {
  color: #778179;
  font-size: 12px;
}

.security-layout {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.security-layout > div > p {
  color: #8d9790;
  margin: 0 0 18px;
}

.field-pair {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.field-pair label {
  color: #aeb7b1;
  display: grid;
  font-size: 13px;
  gap: 7px;
}

.security-layout aside {
  border-left: 1px solid #252d28;
  display: flex;
  flex-direction: column;
  padding-left: 27px;
}

.security-layout aside p {
  color: #7f8982;
  font-size: 13px;
}

.security-layout aside a {
  color: #8bbfd8;
  font-weight: 700;
  margin-bottom: 18px;
}

.security-layout aside form {
  border-top: 1px solid #252d28;
  margin-top: auto;
  padding-top: 16px;
}

.customer-footer {
  color: #68716b;
  display: flex;
  font-size: 12px;
  gap: 20px;
  padding: 8px 0 0;
}

.customer-footer span {
  margin-right: auto;
}

.account-login-intro {
  padding-bottom: 34px;
}

.account-login-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 70px;
}

.account-login-grid .checkout-form {
  max-width: none;
}

.support-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  padding-bottom: 70px;
}

.support-grid select,
.ticket-thread select {
  background: #050b08;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

.ticket-list,
.ticket-messages {
  display: grid;
  gap: 10px;
}

.ticket-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px;
}

.ticket-row:hover {
  background: rgba(126, 227, 160, .04);
  border-color: rgba(126, 227, 160, .55);
}

.ticket-row span:first-child {
  display: grid;
  gap: 4px;
}

.ticket-row small,
.ticket-message time {
  color: var(--muted);
  font-size: 13px;
}

.ticket-thread {
  margin: 0 auto 70px;
  max-width: 900px;
}

.ticket-messages {
  margin-bottom: 24px;
}

.ticket-message {
  background: #050b08;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
}

.ticket-message.is-admin {
  background: rgba(126, 227, 160, .05);
  border-color: rgba(126, 227, 160, .42);
}

.ticket-message header {
  color: var(--green);
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.ticket-message p {
  margin: 12px 0 0;
  white-space: pre-wrap;
}

.ticket-thread textarea {
  background: #050b08;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font: inherit;
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
  width: 100%;
}

.help-hero {
  margin: 72px auto 28px;
  max-width: 860px;
  text-align: center;
}

.help-hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  margin: 10px 0 14px;
}

.help-hero > p:not(.terminal-eyebrow):not(.contact-notice) {
  color: var(--muted);
  font-size: 18px;
}

.help-search {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 28px auto 0;
  max-width: 720px;
}

.help-search input {
  background: rgba(5, 11, 8, .8);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font: inherit;
  min-height: 50px;
  padding: 13px 16px;
}

.help-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.help-categories a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 8px 13px;
}

.help-categories a.active,
.help-categories a:hover {
  background: rgba(126, 227, 160, .08);
  border-color: rgba(126, 227, 160, .5);
  color: var(--text);
}

.help-articles > header,
.admin-section-heading,
.help-article > footer,
.help-signin,
.help-email {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.help-articles > header {
  margin-bottom: 18px;
}

.help-articles h2,
.help-request h2,
.help-history h2 {
  margin: 4px 0;
}

.help-article-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-article-card,
.help-empty {
  background: rgba(7, 8, 24, .48);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 210px;
  padding: 22px;
}

.help-article-card {
  display: flex;
  flex-direction: column;
}

.help-article-card:hover {
  border-color: rgba(169, 184, 255, .55);
  transform: translateY(-2px);
}

.help-article-card > span,
.help-email > span {
  color: var(--green);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.help-article-card h3 {
  margin: 16px 0 8px;
}

.help-article-card p {
  color: var(--muted);
  flex: 1;
}

.help-article-card b {
  color: #b5c3ff;
  font-size: 14px;
}

.help-support-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 56px 0 18px;
}

.help-support-grid > :only-child {
  grid-column: 1 / -1;
}

.help-request form,
.help-article-editor form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.help-request label,
.help-article-editor label {
  display: grid;
  gap: 7px;
}

.help-request textarea {
  min-height: 150px;
}

.help-email {
  margin-bottom: 70px;
}

.help-email p {
  margin: 0;
}

.help-article {
  margin: 64px auto 80px;
  max-width: 860px;
}

.help-article > nav {
  color: var(--muted);
  display: flex;
  gap: 9px;
  margin-bottom: 34px;
}

.help-article > header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.help-article > header h1 {
  font-size: clamp(38px, 6vw, 62px);
  margin: 10px 0 16px;
}

.help-article > header > p:last-child,
.help-article > footer span {
  color: var(--muted);
}

.help-article-body {
  font-size: 17px;
  line-height: 1.75;
  padding: 24px 0 34px;
}

.help-article > footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.help-article > footer div {
  display: grid;
  gap: 5px;
}

.help-article-editor textarea[name="articleBody"] {
  min-height: 320px;
}

.admin-table td small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

@media (max-width: 1050px) {
  .customer-shell {
    grid-template-columns: 214px minmax(0, 1fr);
  }

  .account-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-metrics article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #252d28;
  }

  .account-metrics article:nth-child(4) {
    border-top: 1px solid #252d28;
  }

  .account-columns,
  .security-layout,
  .customer-mfa-setup,
  .customer-mfa-actions {
    grid-template-columns: 1fr;
  }

  .customer-mfa-recovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .security-layout aside {
    border-left: 0;
    border-top: 1px solid #252d28;
    padding: 22px 0 0;
  }
}

@media (max-width: 760px) {
  .customer-shell {
    display: block;
  }

  .customer-sidebar {
    border-bottom: 1px solid #202723;
    border-right: 0;
    height: auto;
    min-height: 0;
    padding: 14px;
    position: static;
  }

  .customer-brand {
    padding: 0 4px 12px;
  }

  .customer-sidebar nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .customer-sidebar nav::-webkit-scrollbar {
    display: none;
  }

  .customer-sidebar nav > span,
  .customer-sidebar nav a[href="#billing"],
  .customer-sidebar nav a[href="#security"],
  .customer-sidebar nav a[href="/account#billing"],
  .customer-sidebar nav a[href="/account#security"] {
    display: none;
  }

  .customer-sidebar nav a {
    border: 1px solid #252d28;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 10px;
  }

  .customer-sidebar-user {
    display: none;
  }

  .customer-topbar {
    padding: 12px 18px;
    position: static;
  }

  .customer-topbar strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .customer-content {
    padding: 26px 16px 20px;
  }

  .customer-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-heading h1 {
    font-size: 34px;
  }

  .account-metrics,
  .account-login-grid,
  .support-grid,
  .help-support-grid {
    grid-template-columns: 1fr;
  }

  .help-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-onboarding > header,
  .onboarding-next {
    align-items: flex-start;
    flex-direction: column;
  }

  .onboarding-steps li {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .onboarding-steps li > a {
    grid-column: 2;
  }

  .onboarding-steps small {
    white-space: normal;
  }

  .onboarding-next .btn {
    width: 100%;
  }

  .account-metrics article + article {
    border-left: 0;
    border-top: 1px solid #252d28;
  }

  .field-pair,
  .redeem-row,
  .redeem-row > div {
    grid-template-columns: 1fr;
  }

  .installer-command {
    grid-template-columns: 1fr;
  }

  .installer-command .btn {
    border-width: 1px 0 0;
    width: 100%;
  }

  .ticket-row,
  .ticket-message header,
  .help-article > footer,
  .help-signin,
  .help-email,
  .admin-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-footer {
    flex-wrap: wrap;
  }

  .customer-footer span {
    flex-basis: 100%;
  }
}

@media (max-width: 640px) {
  .help-search,
  .help-article-grid {
    grid-template-columns: 1fr;
  }

  .help-search .btn,
  .help-article > footer .btn,
  .help-signin .btn {
    width: 100%;
  }

  .help-hero {
    margin-top: 46px;
  }
}

/* Support portal */
.help-portal {
  margin: 56px auto 80px;
  max-width: 1120px;
}

.help-portal .btn,
.help-ticket-page .btn {
  min-width: 0;
  width: max-content;
}

.help-portal-hero {
  align-items: end;
  background: linear-gradient(135deg, rgba(20, 19, 48, .92), rgba(33, 31, 70, .72));
  border: 1px solid rgba(220, 225, 255, .18);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(3, 4, 18, .25), inset 0 1px rgba(255, 255, 255, .08);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 220px;
  padding: clamp(30px, 5vw, 58px);
}

.help-portal-label {
  align-items: center;
  color: #dfe3ff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: .08em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.help-portal-label i,
.admin-inbox-state i {
  background: #75e5d0;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(117, 229, 208, .1);
  height: 7px;
  width: 7px;
}

.help-portal-hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  letter-spacing: -.045em;
  line-height: 1.02;
  margin: 10px 0 18px;
  max-width: 760px;
}

.help-portal-hero div > p:last-of-type {
  color: #aaa9ba;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  max-width: 700px;
}

.help-portal-hero aside {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(225, 229, 255, .14);
  border-radius: 12px;
  display: grid;
  gap: 7px;
  padding: 20px;
}

.help-portal-hero aside span,
.help-request-card > header > span,
.help-history-card > header span {
  color: #9392a6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.help-portal-hero aside strong {
  color: #a2f0df;
  font-size: 22px;
}

.help-portal-hero aside small {
  color: #8e8d9f;
  line-height: 1.5;
}

.help-service-bar {
  border-bottom: 1px solid rgba(225, 228, 255, .12);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 24px;
}

.help-service-bar > div {
  align-items: start;
  display: grid;
  gap: 13px;
  grid-template-columns: 30px minmax(0, 1fr);
  padding: 24px 20px;
}

.help-service-bar > div + div {
  border-left: 1px solid rgba(225, 228, 255, .12);
}

.help-service-bar > div > span {
  color: #7f8ac1;
  font-family: var(--mono);
  font-size: 12px;
}

.help-service-bar p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.help-service-bar small {
  color: var(--muted);
  line-height: 1.45;
}

.help-topic-section {
  padding: 58px 0 24px;
}

.help-topic-section > header {
  margin-bottom: 22px;
}

.help-topic-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 6px 0 0;
}

.help-topic-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.help-topic {
  align-items: center;
  background: rgba(11, 11, 31, .48);
  border: 1px solid rgba(225, 228, 255, .13);
  border-radius: 12px;
  display: grid;
  gap: 16px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  min-height: 94px;
  padding: 18px 20px;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.help-topic:hover,
.help-topic.is-selected {
  background: rgba(120, 137, 210, .1);
  border-color: rgba(169, 184, 255, .42);
  transform: translateY(-1px);
}

.help-topic > span {
  align-items: center;
  background: rgba(169, 184, 255, .1);
  border: 1px solid rgba(169, 184, 255, .18);
  border-radius: 9px;
  color: #aebaff;
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.help-topic div {
  display: grid;
  gap: 5px;
}

.help-topic strong {
  color: #f4f3fb;
  font-size: 16px;
}

.help-topic small {
  color: var(--muted);
  line-height: 1.4;
}

.help-topic > b {
  color: #8f9edb;
  font-size: 18px;
}

.help-workspace {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  margin-top: 34px;
}

.help-workspace > :only-child {
  grid-column: 1 / -1;
}

.help-request-card,
.help-history-card,
.help-signin-card {
  background: rgba(14, 13, 35, .62);
  border: 1px solid rgba(225, 228, 255, .15);
  border-radius: 14px;
  box-shadow: 0 18px 56px rgba(3, 4, 18, .18), inset 0 1px rgba(255, 255, 255, .055);
  padding: clamp(24px, 4vw, 34px);
}

.help-request-card > header h2,
.help-history-card h2,
.help-signin-card h2 {
  font-size: 28px;
  margin: 7px 0 9px;
}

.help-request-card > header p,
.help-signin-card p {
  color: var(--muted);
  line-height: 1.6;
}

.help-ticket-form,
.help-reply-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.help-ticket-form label,
.help-reply-form label {
  color: #d9d8e4;
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
}

.help-ticket-form input,
.help-ticket-form select,
.help-ticket-form textarea,
.help-reply-form textarea {
  background: rgba(5, 6, 22, .64);
  border: 1px solid rgba(225, 228, 255, .16);
  border-radius: 9px;
  color: #f8f7ff;
  font: inherit;
  padding: 12px 13px;
  resize: vertical;
  width: 100%;
}

.help-form-footer {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.help-form-footer > span {
  color: var(--muted);
  font-size: 12px;
}

.help-history-card > header {
  align-items: center;
  border-bottom: 1px solid rgba(225, 228, 255, .12);
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
}

.help-history-card > header b {
  align-items: center;
  background: rgba(169, 184, 255, .1);
  border-radius: 999px;
  color: #c8d0ff;
  display: flex;
  height: 34px;
  justify-content: center;
  min-width: 34px;
}

.help-ticket-list {
  display: grid;
  margin-top: 8px;
}

.help-ticket-row {
  align-items: center;
  border-bottom: 1px solid rgba(225, 228, 255, .1);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 15px 2px;
}

.help-ticket-row:hover strong {
  color: #b7c3ff;
}

.help-ticket-id {
  color: #8390c9;
  font-family: var(--mono);
  font-size: 12px;
}

.help-ticket-row > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.help-ticket-row small {
  color: var(--muted);
  font-size: 12px;
}

.help-empty-state {
  align-items: center;
  display: flex;
  gap: 15px;
  padding: 28px 0 12px;
}

.help-empty-state > span,
.help-signin-mark {
  align-items: center;
  background: rgba(169, 184, 255, .1);
  border: 1px solid rgba(169, 184, 255, .2);
  border-radius: 10px;
  color: #b9c4ff;
  display: flex;
  font-family: var(--mono);
  height: 46px;
  justify-content: center;
  min-width: 46px;
}

.help-empty-state p {
  color: var(--muted);
  font-size: 13px;
  margin: 5px 0 0;
}

.help-signin-card > div {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 54px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 720px;
}

.help-signin-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.help-signin-actions > a:not(.btn) {
  color: #aebaff;
  font-size: 13px;
  font-weight: 700;
}

.help-ticket-page {
  margin: 62px auto 80px;
  max-width: 900px;
}

.help-back-link {
  color: #aebaff;
  display: inline-flex;
  font-size: 13px;
  margin-bottom: 22px;
}

.help-ticket-header {
  align-items: start;
  border-bottom: 1px solid rgba(225, 228, 255, .14);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding-bottom: 26px;
}

.help-ticket-header > div > span {
  color: #8f9edb;
  font-family: var(--mono);
  font-size: 12px;
}

.help-ticket-header h1 {
  font-size: clamp(30px, 5vw, 46px);
  margin: 8px 0 10px;
}

.help-ticket-header p,
.help-closed-note p {
  color: var(--muted);
  margin: 0;
}

.help-conversation {
  background: rgba(14, 13, 35, .6);
  border-radius: 14px;
  margin-top: 24px;
  max-width: none;
}

.help-reply-form {
  border-top: 1px solid rgba(225, 228, 255, .12);
  padding-top: 24px;
}

.help-closed-note {
  border-top: 1px solid rgba(225, 228, 255, .12);
  display: grid;
  gap: 5px;
  padding-top: 22px;
}

/* Admin helpdesk */
.admin-help-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 42px 0 24px;
}

.admin-help-heading h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 8px 0 8px;
}

.admin-help-heading p {
  color: var(--muted);
  margin: 0;
}

.admin-inbox-state {
  align-items: center;
  background: rgba(117, 229, 208, .08);
  border: 1px solid rgba(117, 229, 208, .2);
  border-radius: 999px;
  color: #a2f0df;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 9px;
  padding: 9px 13px;
}

.admin-help-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.admin-help-metrics article {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(225, 228, 255, .12);
  border-radius: 10px;
  display: grid;
  gap: 5px;
  padding: 18px;
}

.admin-help-metrics span,
.admin-help-metrics small {
  color: var(--muted);
  font-size: 12px;
}

.admin-help-metrics strong {
  font-size: 28px;
}

.admin-help-toolbar {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-help-toolbar > div {
  display: grid;
  gap: 4px;
}

.admin-help-toolbar > div span {
  color: var(--muted);
  font-size: 12px;
}

.admin-help-toolbar .admin-search {
  margin: 0;
  max-width: 360px;
  width: 100%;
}

.admin-ticket-link {
  display: grid;
  gap: 4px;
}

.admin-ticket-link span {
  color: #8f9edb;
  font-family: var(--mono);
  font-size: 11px;
}

.admin-ticket-category,
.admin-priority {
  border: 1px solid rgba(225, 228, 255, .12);
  border-radius: 999px;
  color: #c9c7d6;
  display: inline-flex;
  font-size: 11px;
  padding: 5px 8px;
}

.admin-priority.is-urgent,
.admin-priority.is-high {
  border-color: rgba(255, 154, 154, .25);
  color: #ffb2b2;
}

.admin-empty-state {
  display: grid;
  gap: 5px;
  padding: 28px 0;
  text-align: center;
}

.admin-empty-state span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .help-portal-hero,
  .help-workspace {
    grid-template-columns: 1fr;
  }

  .help-portal-hero aside {
    max-width: 280px;
  }

  .help-service-bar,
  .admin-help-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-service-bar > div + div {
    border-left: 0;
  }

  .help-service-bar > div:nth-child(even) {
    border-left: 1px solid rgba(225, 228, 255, .12);
  }
}

@media (max-width: 640px) {
  .help-portal {
    margin-top: 34px;
  }

  .help-portal-hero {
    border-radius: 14px;
    padding: 26px 22px;
  }

  .help-service-bar,
  .help-topic-grid,
  .admin-help-metrics {
    grid-template-columns: 1fr;
  }

  .help-service-bar {
    margin: 0 8px;
  }

  .help-service-bar > div:nth-child(even) {
    border-left: 0;
  }

  .help-service-bar > div + div {
    border-top: 1px solid rgba(225, 228, 255, .12);
  }

  .help-form-footer,
  .help-ticket-header,
  .admin-help-heading,
  .admin-help-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .help-ticket-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .help-ticket-row .status-badge {
    grid-column: 2;
    justify-self: start;
  }

  .help-signin-card > div {
    grid-template-columns: 1fr;
  }
}
