/* The account and admin pages, in the landing page's palette and type (see home.css). */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-variable.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #0d0f13;
  --panel: #14171c;
  --panel-alt: #1b1f26;
  --border: #262b33;
  --text: #e7e9ec;
  --body: #d0d4da;
  --muted: #8b93a1;
  --gold: #f5c34d;
  --ok: #5fbf8d;
  --bad: #e3765f;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

/* The hidden attribute always hides, whatever display a class gives the element. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--gold);
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.mono {
  font-family: var(--mono);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.nowrap {
  white-space: nowrap;
}

.label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
}

h1 {
  margin: 8px 0 4px;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 108%;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Header and footer */

.site-header {
  border-bottom: 2px solid var(--text);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 24px;
  font-family: var(--mono);
  font-size: 13px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  color: var(--text);
  text-decoration: none;
}

.flag-mark {
  display: inline-block;
  width: 14px;
  height: 22px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 70% 50%, 100% 100%, 0 100%);
}

.brand-name {
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 19px;
}

.brand-file {
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}

.underline,
.link-button {
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
}

.underline:hover,
.underline.current,
.link-button:hover {
  color: var(--gold);
  background-size: 100% 2px;
}

.link-button {
  border: 0;
  font: inherit;
  cursor: pointer;
  background-color: transparent;
}

form.inline {
  display: inline;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.site-footer .wrap {
  padding-top: 24px;
  padding-bottom: 32px;
}

/* Content */

.page {
  display: grid;
  gap: 20px;
  padding-top: 40px;
}

.page > * {
  min-width: 0;
}

.intro p {
  margin: 8px 0 0;
}

.panel {
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.panel.narrow {
  max-width: 640px;
}

.panel > p:last-child {
  margin-bottom: 0;
}

.issued {
  border-color: var(--gold);
}

.license-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sheet {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 20px;
  margin: 16px 0;
}

.sheet dt {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.sheet dd {
  margin: 0;
  color: var(--text);
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tag.active {
  color: var(--ok);
}

.tag.expired {
  color: var(--gold);
}

.tag.revoked {
  color: var(--bad);
}

.tag.dev {
  color: #7fb0ff;
}

.notice {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid var(--ok);
  background: var(--panel-alt);
  color: var(--text);
}

.notice.error {
  border-left-color: var(--bad);
}

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 14px 0;
}

.download {
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: var(--panel-alt);
}

.download h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 108%;
  font-size: 24px;
}

.download h2 .mono {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}

.download p {
  margin: 6px 0 12px;
}

.download .api-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 14px 0 0;
}

/* A license's keys: one, or two with the development add-on. */

.keys {
  display: grid;
  border-top: 1px solid var(--border);
}

.key-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.key-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.key-label {
  margin-right: 8px;
  font: 600 13px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--body);
}

/* Buttons and forms */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 2px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  background: var(--text);
  color: var(--bg);
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
}

.button.primary:hover {
  background: #ffd978;
  border-color: #ffd978;
}

.button.danger {
  border-color: var(--bad);
  color: var(--bad);
}

.button.danger:hover {
  background: var(--bad);
  color: var(--bg);
}

details.confirm summary,
details.row-actions summary {
  list-style: none;
}

details.confirm summary::-webkit-details-marker,
details.row-actions summary::-webkit-details-marker {
  display: none;
}

details.row-actions summary {
  color: var(--gold);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
}

details.row-actions[open] {
  display: grid;
  gap: 12px;
  min-width: 280px;
  padding-top: 8px;
}

.grid-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: end;
  gap: 14px;
  margin-top: 14px;
}

.grid-form .wide {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: 15px var(--sans);
  color-scheme: dark;
}

input.mono {
  font-family: var(--mono);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: -1px;
}

.copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.copy-row input {
  flex: 1 1 260px;
  width: auto;
  font-size: 17px;
  letter-spacing: 0.04em;
}

/* Tables scroll inside their own box instead of widening the page. */

.table-scroll {
  overflow-x: auto;
  margin-top: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  color: var(--text);
}

/* Admin console: sections, a list and the selected item, side by side; stacked on a phone. */

.page.wide {
  max-width: 1440px;
  padding-top: 0;
}

.plain {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.plain:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.strong {
  font-weight: 600;
  color: var(--text);
}

.pad {
  padding: 0 24px;
}

.console {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.console-nav {
  flex: 1 1 200px;
  max-width: 220px;
  padding: 28px 24px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--mono);
  font-size: 14px;
}

.console-nav .label {
  padding: 0 12px 10px;
  font-size: 12px;
}

.console-nav a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
}

.console-nav a:hover {
  color: var(--text);
}

.console-nav a.current {
  background: var(--panel-alt);
  color: var(--text);
}

.console-nav .count {
  color: var(--gold);
}

.totals {
  display: grid;
  gap: 10px;
  margin: 20px 12px 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.totals dt {
  color: var(--muted);
}

.totals dd {
  margin: 0;
  color: var(--text);
}

.totals dd.warn {
  color: var(--gold);
}

.console-main {
  flex: 999 1 520px;
  min-width: 0;
  padding: 28px 0 40px;
  border-left: 1px solid var(--border);
  display: grid;
  gap: 16px;
  align-content: start;
}

.console.has-panel .console-main {
  border-right: 1px solid var(--border);
}

.console-main > .notice {
  margin: 0 24px;
}

.main-head {
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.main-head h1 {
  margin: 0;
  font-size: 34px;
}

.button.small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

/* Needs attention: things to act on, each with its fix. */

.attention {
  margin: 0 24px;
  border: 1px solid var(--gold);
  background: var(--panel);
}

.attention-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.attention-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}

.attention-row:last-child {
  border-bottom: 0;
}

.attention-tag {
  flex: 0 0 130px;
  font: 600 11px var(--mono);
  letter-spacing: 0.08em;
  color: var(--body);
}

.attention-tag.bad {
  color: var(--bad);
}

.attention-tag.warn {
  color: var(--gold);
}

.attention-text {
  flex: 1 1 260px;
  min-width: 0;
  color: var(--text);
}

.attention-fix {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px;
}

.filters input[type="search"] {
  flex: 1 1 100%;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-right: 8px;
}

.chips button,
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: 12px var(--mono);
  text-decoration: none;
  cursor: pointer;
}

.chips button:hover,
.chips a:hover {
  color: var(--text);
}

.chips .current {
  border-color: var(--gold);
  color: var(--gold);
}

/* The list: two lines per row, the selected one marked. */

.rows-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
}

.row:hover {
  background: var(--panel);
  color: inherit;
}

.row.selected {
  background: var(--panel-alt);
  box-shadow: inset 3px 0 0 var(--gold);
}

.row.revoked {
  opacity: 0.7;
}

.row.revoked .row-title .mono {
  text-decoration: line-through;
}

.row-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  color: var(--text);
}

.row-meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}

.dev-mark {
  font: 600 11px var(--mono);
  letter-spacing: 0.06em;
  color: #7fb0ff;
}

.state {
  font: 600 11px var(--mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.state.active {
  color: var(--ok);
}

.state.warn,
.state.expired {
  color: var(--gold);
}

.state.revoked {
  color: var(--bad);
}

.state.none {
  color: var(--muted);
}

.warn-text {
  color: var(--gold);
}

/* The selected license or account, or the grant form. */

.console-panel {
  flex: 1 1 360px;
  max-width: 460px;
  min-width: 0;
  padding: 28px 0 40px 24px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.panel-head .close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  color: var(--muted);
  text-decoration: none;
}

.panel-head .close:hover {
  color: var(--text);
}

.console-panel h2 {
  margin: 8px 0 4px;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 108%;
  font-size: 26px;
  overflow-wrap: anywhere;
}

.console-panel h2.mono {
  font-family: var(--mono);
  font-size: 24px;
  letter-spacing: 0.02em;
}

.panel-sub {
  margin: 0 0 10px;
}

.console-panel .sheet {
  margin: 14px 0 20px;
  font-size: 14px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

details.edit {
  flex-basis: 100%;
  order: 9;
}

details.edit:not([open]) {
  flex-basis: auto;
  order: 0;
}

details.edit > summary,
details.delete > summary {
  list-style: none;
}

details.delete {
  flex-basis: 100%;
  order: 10;
}

details.delete:not([open]) {
  flex-basis: auto;
}

details.delete > summary::-webkit-details-marker {
  display: none;
}

.key-cell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
}

.link-danger {
  padding: 0;
  border: 0;
  background: none;
  color: var(--bad);
  font: 600 12px var(--mono);
  letter-spacing: 0.06em;
  cursor: pointer;
}

.link-danger:hover {
  text-decoration: underline;
}

details.edit > summary::-webkit-details-marker {
  display: none;
}

details.edit[open] > summary {
  border-color: var(--gold);
  color: var(--gold);
}

.stack-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

/* The end date only matters for a complimentary license. */
.license-form .comp-only {
  display: none;
}

.license-form:has(option[value="comp"]:checked) .comp-only {
  display: grid;
}

.section-label {
  display: block;
  margin-top: 20px;
}

.log {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.log li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.log li:last-child {
  border-bottom: 0;
}

.log time {
  padding-top: 2px;
  white-space: nowrap;
}

.log.compact li {
  grid-template-columns: 1fr;
  gap: 0;
}

.plain-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.builds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding: 0 24px;
}

.build {
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.build h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-stretch: 108%;
  font-size: 24px;
}

.build h2 .mono {
  font-size: 16px;
  color: var(--gold);
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 13px;
}

@media (max-width: 760px) {
  .console-nav {
    order: -2;
    max-width: none;
    flex-basis: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 16px 0 8px;
  }

  .console-nav .label,
  .totals {
    display: none;
  }

  .console-main {
    border-left: 0;
  }

  .console.has-panel .console-main {
    border-right: 0;
  }

  .console-panel {
    order: -1;
    max-width: none;
    flex-basis: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }

  .log li {
    grid-template-columns: 1fr;
  }
}

/* Leak signals in a license's panel. */

.leak.flagged {
  margin-top: 20px;
  padding: 4px 16px 16px;
  border: 1px solid var(--bad);
}

.leak.flagged .section-label {
  color: var(--bad);
}

/* Roles and the playtest sections. */

.role-tag {
  display: inline-block;
  padding: 0 6px;
  border: 1px solid currentColor;
  font: 600 10px var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
}

.role-tag.owner {
  color: var(--gold);
}

.role-tag.admin {
  color: #7fb0ff;
}

.role-tag.staff {
  color: var(--ok);
}

.role-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin: 12px 0 20px;
}

.role-form label {
  flex: 1 1 160px;
}

.console-nav .nav-group {
  margin-top: 18px;
}

.pad-notice {
  margin: 0 24px;
}

.row.static:hover {
  background: none;
}

.fails {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
}

.link-button-small {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font: 600 12px var(--mono);
  letter-spacing: 0.06em;
  cursor: pointer;
}

.link-button-small:hover {
  text-decoration: underline;
}

.key-cell .actions {
  gap: 14px;
}

/* Detection profiles: one check's settings per group, each a name, its value and what servers may set. */

.profile-group {
  margin: 12px 0 0;
  border: 1px solid var(--border);
  background: var(--panel);
}

.profile-group h3 {
  margin: 0;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
}

.profile-setting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
  align-items: center;
  gap: 4px 16px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.profile-setting > :first-child {
  overflow-wrap: anywhere;
}

.profile-setting:last-child {
  border-bottom: 0;
}

.profile-setting input,
.profile-setting select {
  min-height: 36px;
  padding: 4px 10px;
  font-size: 14px;
}

.profile-setting.changed {
  box-shadow: inset 3px 0 0 var(--gold);
}

.profile-setting.range {
  grid-template-columns: minmax(0, 1fr) auto;
}

.range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.range-inputs input {
  width: 110px;
}

input.invalid {
  border-color: var(--bad);
}

.profile-changes .mono {
  font-size: 13px;
}

.note-field {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.save-bar {
  position: sticky;
  bottom: 0;
  padding-top: 14px;
  padding-bottom: 14px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.profile-new {
  margin-top: 16px;
}

.profile-new select {
  width: auto;
}

@media (max-width: 760px) {
  .profile-setting {
    grid-template-columns: minmax(0, 1fr) 120px;
  }

  .profile-setting > .small {
    grid-column: 1 / -1;
  }

  .profile-setting.range {
    grid-template-columns: 1fr;
  }
}

/* Admin console: Telemetry, tabs of dark panels with big numbers and plain charts. */

.tele {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px;
  font-family: var(--mono);
  font-size: 13px;
}

.tele-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.tele-head h1 {
  margin: 0;
}

.tele-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok);
  font-size: 12px;
}

.tele-live span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}

.tele-ranges {
  margin-left: auto;
  display: flex;
  gap: 4px;
}

.tele-ranges a {
  min-width: 52px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}

.tele-ranges a.current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.tele-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  border-bottom: 1px solid var(--border);
}

.tele-tabs a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  margin-bottom: -1px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tele-tabs a span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--text);
}

.tele-tabs a.current {
  background: var(--panel);
  border-bottom-color: var(--gold);
  color: var(--text);
}

.tele-empty {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: var(--panel);
  font-family: var(--sans);
  font-size: 14px;
}

.tele-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tele-panel {
  flex: 1 1 320px;
  min-width: 0;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-sizing: border-box;
}

.tele-panel.wide {
  flex: 2 1 560px;
}

.tele-h,
.tele-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.tele-tile {
  flex: 1 1 170px;
  position: relative;
  min-width: 0;
  height: 136px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}

.tele-tile svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 34px;
}

.tele-tile > span {
  position: relative;
}

.tele-tile .tele-label {
  margin: 0;
}

.tele-big {
  font-family: var(--display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  color: var(--text);
}

.tele-big.gold { color: var(--gold); }
.tele-big.bad { color: var(--bad); }

.tele-note {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tone-ok { color: var(--ok); }
.tone-warn { color: var(--gold); }
.tone-bad { color: var(--bad); }
.tone-blue { color: #7fb0ff; }
.tone-purple { color: #b9a2f0; }
.tone-muted { color: var(--muted); }

.tele-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: -4px 0 10px;
  font-size: 11px;
}

.tele-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tele-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
}

.tele-bars {
  display: block;
  width: 100%;
  height: 220px;
  border-bottom: 1px solid var(--border);
}

/* Telemetry draws with SVG and these classes: the page's policy allows no inline styles. */
.c-gold { color: var(--gold); } .bg-gold { background: var(--gold); } .edge-gold { border-color: var(--gold) !important; }
.c-blue { color: #7fb0ff; } .bg-blue { background: #7fb0ff; } .edge-blue { border-color: #7fb0ff !important; }
.c-ok { color: var(--ok); } .bg-ok { background: var(--ok); } .edge-ok { border-color: var(--ok) !important; }
.c-bad { color: var(--bad); } .bg-bad { background: var(--bad); } .edge-bad { border-color: var(--bad) !important; }
.c-purple { color: #b9a2f0; } .bg-purple { background: #b9a2f0; } .edge-purple { border-color: #b9a2f0 !important; }
.c-light { color: #c9ced6; } .bg-light { background: #c9ced6; } .edge-light { border-color: #c9ced6 !important; }
.c-text { color: var(--text); } .bg-text { background: var(--text); } .edge-text { border-color: var(--text) !important; }
.c-grey { color: #8b93a1; } .bg-grey { background: #4a505b; } .edge-grey { border-color: #4a505b !important; }
.c-muted { color: var(--muted); } .bg-muted { background: var(--muted); } .edge-muted { border-color: var(--muted) !important; }
.c-orange { color: #f0a35e; } .bg-orange { background: #f0a35e; } .edge-orange { border-color: #f0a35e !important; }

.tele-meter {
  display: block;
  width: 100%;
  height: 14px;
}

.tele-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.tele-gauges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tele-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
}

.tele-gauge svg {
  width: 100%;
  height: 124px;
}

.tele-none {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.tele-gauge.tele-none {
  justify-content: center;
}

.tele-verdicts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.tele-verdicts div {
  padding: 8px 4px;
  background: var(--bg);
  border-top: 2px solid;
}

.tele-verdicts b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0;
  color: var(--text);
}

.tele-heat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-x: auto;
}

.tele-heat a {
  display: grid;
  grid-template-columns: 200px minmax(240px, 1fr) 56px;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
}

.tele-heat a:hover .mono {
  color: var(--gold);
}

.tele-heat a > span:last-child {
  text-align: right;
}

.tele-heat .mono,
.tele-rail .mono {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tele-cells {
  display: block;
  width: 100%;
  height: 20px;
}

.tele-cells.mini {
  grid-column: 1 / -1;
  height: 6px;
}

.tele-hbar {
  display: grid;
  grid-template-columns: minmax(96px, 40%) minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
}

.tele-hbar b {
  text-align: right;
  color: var(--text);
  font-weight: 400;
}

.tele-donut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.tele-donut svg {
  width: 160px;
  height: 160px;
}

.tele-donut ul {
  flex: 1 1 120px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.tele-donut li {
  display: flex;
  justify-content: space-between;
  padding-left: 8px;
  border-left: 3px solid;
}

.tele-donut b {
  font-family: var(--display);
  font-size: 18px;
  color: var(--text);
}

.tele-suspects {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.tele-suspects li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1f242b;
}

.tele-suspects small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
}

.tele-compare {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
}

.tele-compare div {
  margin-top: auto;
  color: var(--muted);
}

.tele-compare s {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
}

.tele-compare b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 42px;
  color: #7fb0ff;
}

.tele-pairs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 14px;
}

.tele-pairs a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 11px;
  text-align: center;
  overflow-wrap: anywhere;
}

.tele-pairs a.untrusted {
  opacity: 0.55;
}

.tele-pair {
  display: block;
  width: 100%;
  height: 180px;
  border-bottom: 1px solid var(--border);
}

.tele-changes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.tele-changes li {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  background: var(--bg);
  border-left: 3px solid #7fb0ff;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.tele-changes s {
  color: var(--muted);
  text-decoration: none;
}

.tele-changes b {
  color: #7fb0ff;
  font-weight: 400;
}

.tele-decision {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--gold);
}

.tele-decision .tele-big {
  font-size: 26px;
}

.tele-decision .muted {
  flex: 1 1 300px;
}

.tele-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.tele-rail {
  flex: 1 1 240px;
  max-width: 300px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tele-rail a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  padding: 10px;
  border-left: 3px solid transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
}

.tele-rail a.current {
  background: var(--panel-alt);
  border-left-color: var(--gold);
}

.tele-check {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tele-check-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
}

.tele-check-head h2 {
  margin: 0;
  font-size: 26px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.tele-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tele-chips > span {
  padding: 4px 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
}

@media (max-width: 760px) {
  .tele {
    padding: 0 16px;
  }

  .tele-ranges {
    margin-left: 0;
  }

  .tele-rail {
    max-width: none;
  }

  .tele-heat a {
    grid-template-columns: 130px minmax(100px, 1fr) 48px;
  }
}

/* Admin console: the task board, a column per status; a card opens in the right panel. */

.task-filters {
  display: grid;
  gap: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
}

.chip:hover {
  color: var(--text);
  border-color: #3a404a;
}

.chip.current {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

.task-board {
  --done: var(--ok);
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 12px;
  padding: 0 24px;
  overflow-x: auto;
  align-items: start;
}

.task-column {
  --kind: var(--muted);
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: 2px solid var(--kind);
}

.task-column.status-doing { --kind: #7fb0ff; }
.task-column.status-blocked { --kind: var(--gold); }
.task-column.status-done { --kind: var(--ok); }

.task-column header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 2px 4px;
}

.task-column-name {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--kind);
}

.task-column .count {
  color: var(--muted);
  font-size: 12px;
}

.task-add-link {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}

.task-add-link:hover {
  color: var(--gold);
}

.task-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
}

.task-card:hover {
  border-color: #3a404a;
}

.task-card.selected {
  border-color: var(--gold);
}

.task-card[draggable="true"] {
  cursor: grab;
}

.task-card.dragging {
  opacity: 0.4;
}

.task-card.saving {
  opacity: 0.7;
}

.task-column.drop-target {
  border-color: var(--kind);
  background: var(--panel-alt);
}

.task-column {
  min-height: 120px;
}

.task-card-link {
  display: grid;
  gap: 6px;
  padding: 10px 12px 8px;
  color: inherit;
  text-decoration: none;
}

.task-card-title {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
}

.status-done .task-card-title {
  color: var(--muted);
  text-decoration: line-through;
}

.task-card-notes {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.task-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.task-card-move {
  display: flex;
  justify-content: space-between;
  padding: 0 6px 4px;
  opacity: 0;
  transition: opacity 0.1s;
}

.task-card:hover .task-card-move,
.task-card:focus-within .task-card-move,
.task-card.selected .task-card-move {
  opacity: 1;
}

.task-card-move form[data-dir="next"] {
  margin-left: auto;
}

.task-card-move .link-button {
  padding: 2px 6px;
  color: var(--muted);
  font-size: 11px;
  background: none;
}

.console.has-panel .task-board {
  grid-template-columns: repeat(4, minmax(170px, 1fr));
}

.task-card-move .link-button:hover {
  color: var(--kind);
}

.task-card-assignee {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--body);
}

.task-card-assignee.mine {
  color: var(--gold);
}

.task-assignee {
  margin: 0 0 4px;
  color: var(--body);
}

.task-empty {
  margin: 4px 2px;
}

.task-more {
  padding: 2px;
  color: var(--muted);
  font-family: var(--mono);
}

.task-description {
  margin: 12px 0 0;
  color: var(--body);
  font-size: 14px;
}

.task-notes {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.task-notes li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  padding: 8px 0 8px 12px;
  border-left: 2px solid var(--gold);
}

.task-notes li p {
  flex-basis: 100%;
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.task-notes .link-danger {
  font-size: 11px;
}

.task-note-form {
  margin-bottom: 18px;
}

.task-edit {
  margin-top: 4px;
}

.task-status-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 4px;
}

.task-status-buttons .current {
  cursor: default;
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}

.task-status-buttons .current.status-doing { background: #7fb0ff; border-color: #7fb0ff; }
.task-status-buttons .current.status-blocked { background: var(--gold); border-color: var(--gold); }
.task-status-buttons .current.status-done { background: var(--ok); border-color: var(--ok); }

.task-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.task-selects label {
  flex: 1 1 120px;
}

.stack-form label.check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--body);
}

.stack-form label.check input {
  width: auto;
  min-height: 0;
}

.stack-form textarea {
  resize: vertical;
}

.task-delete[open] {
  flex-basis: 100%;
}

.task-tokens {
  margin-top: 24px;
}

.task-tokens .notice input {
  width: 100%;
  margin: 6px 0;
}

@media (hover: none) {
  .task-card-move {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .task-board {
    grid-template-columns: repeat(4, 82vw);
    padding: 0 16px;
    scroll-snap-type: x mandatory;
  }

  .task-column {
    scroll-snap-align: start;
  }
}

/* Release notes: a rail of versions beside one release's CHANGELOG.md section. On a wide
   screen the page's script fits the two to the window, and each scrolls on its own. */

.releases {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  min-height: 0;
}

.release-rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.release-rail ol {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--border);
  overflow-y: auto;
  min-height: 0;
}

.release-rail a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 10px;
  padding: 8px 0 8px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--text);
  text-decoration: none;
}

.release-rail a:hover {
  border-left-color: var(--border);
  background: var(--panel);
}

.release-rail a.current {
  border-left-color: var(--gold);
  background: var(--panel);
}

.release-rail a .mono {
  font-weight: 600;
}

.release-rail a .small {
  grid-column: 1 / -1;
}

.tag.nightly {
  color: #7fb0ff;
  justify-self: start;
  font-size: 11px;
  padding: 1px 6px;
}

.nightly-notice {
  margin-top: 16px;
  border-left-color: #7fb0ff;
}

.tag.latest {
  color: var(--gold);
  justify-self: start;
  font-size: 11px;
  padding: 1px 6px;
}

.release {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--panel);
  border: 1px solid var(--border);
}

.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.release-version {
  font-family: var(--display);
  font-stretch: 108%;
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: var(--text);
}

.release-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.release-body {
  padding: 0 24px 8px;
  overflow-y: auto;
  min-height: 0;
}

.release-intro {
  padding-top: 16px;
}

.change {
  --kind: var(--muted);
  padding: 20px 0 12px;
}

.change + .change {
  border-top: 1px dashed var(--border);
}

.change-added { --kind: var(--ok); }
.change-changed { --kind: var(--gold); }
.change-fixed { --kind: #7fb0ff; }
.change-removed,
.change-deprecated,
.change-security { --kind: var(--bad); }

.change summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  list-style: none;
}

.change summary::-webkit-details-marker {
  display: none;
}

.change:not([open]) summary {
  margin-bottom: 0;
}

.change h3 {
  margin: 0;
}

.change-count {
  color: var(--muted);
}

.change-toggle {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.change-toggle::after {
  content: "−";
}

.change:not([open]) .change-toggle::after {
  content: "+";
}

.change summary:hover .change-toggle,
.change summary:hover .change-count {
  color: var(--kind);
}

.change summary:focus-visible {
  outline: 1px solid var(--kind);
  outline-offset: 4px;
}

.change-kind {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--kind);
  color: var(--kind);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.change ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.change li {
  padding-left: 14px;
  border-left: 2px solid var(--kind);
  max-width: 72ch;
}

.change li > p {
  margin: 0;
}

.change li strong {
  color: var(--text);
  font-weight: 600;
}

.change ul ul {
  margin-top: 8px;
  gap: 6px;
}

.change ul ul li {
  border-left-style: dotted;
}

.release-body code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0 3px;
  background: var(--panel-alt);
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .releases {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .release-rail ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-left: 0;
    overflow: visible;
  }

  .release-rail a {
    display: flex;
    gap: 8px;
    padding: 6px 10px;
    margin: 0;
    border: 1px solid var(--border);
  }

  .release-rail a.current {
    border-color: var(--gold);
  }

  .release-rail a .small {
    display: none;
  }

  .release-head {
    padding: 16px;
  }

  .release-version {
    font-size: 28px;
  }

  .release-body {
    padding: 0 16px 8px;
    overflow: visible;
  }
}

/* The admin console's Console section (src/admin-console.php): the test server's log, live. */
.console-section {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}
#console-status .ok { color: var(--ok); }
#console-status .bad { color: var(--bad); }
#console-status .warn { color: var(--gold); }
.console-log {
  margin: 0;
  height: min(60vh, 36rem);
  overflow: auto;
  padding: 0.75rem;
  background: #090a0d;
  border: 1px solid var(--border);
  color: var(--body);
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.console-log > span { display: block; min-height: 1.45em; }
.console-log .warn-line { color: var(--gold); }
.console-log .error-line { color: var(--bad); }
.console-log .ff-line { color: #9cc4ff; }
.console-log .command-line { color: var(--text); font-weight: 600; }
.console-log .waiting-line { color: var(--muted); font-style: italic; }
.console-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: var(--panel);
  border: 1px solid var(--border);
}
.console-input input[name=command] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  outline: none;
}

/* The license panel: a summary line, then blocks for the plan, the detection profile, the keys
   (each with the server it runs) and the details. */
.lic-summary {
  margin: 0 0 4px;
}
.lic-block {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--border);
}
.lic-block > p {
  margin: 0;
}
.lic-plan {
  line-height: 1.5;
}
.segmented {
  display: flex;
  border: 1px solid var(--border);
}
.segmented > form {
  display: contents;
}
.segment {
  flex: 1;
  padding: 9px 10px;
  border: 0;
  background: none;
  color: var(--muted);
  font: 600 12px var(--mono);
  letter-spacing: 0.06em;
  text-align: center;
  cursor: pointer;
}
.segmented > :not(:first-child),
.segmented > :not(:first-child) .segment {
  border-left: 1px solid var(--border);
}
.segment:hover {
  color: var(--text);
  background: var(--panel-alt);
}
.segment.current {
  background: var(--gold);
  color: #14171c;
  cursor: default;
}
.lic-key {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  background: var(--panel-alt);
  border: 1px solid var(--border);
}
.lic-key.missing {
  background: none;
  border-style: dashed;
}
.lic-key p {
  margin: 0;
}
.lic-key-head,
.lic-server {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.lic-key-head .link-danger,
.lic-server .link-danger {
  margin-left: auto;
}
.lic-server {
  font-size: 13px;
}
.lic-server .ok {
  color: var(--ok);
}
