:root {
  color-scheme: dark;
  --bg: #0e1419;
  --panel: #151d24;
  --panel-2: #1a242d;
  --hover: #202d36;
  --line: #2b3944;
  --line-soft: #22303a;
  --text: #e3e9ed;
  --muted: #9cabba;
  --muted-2: #718695;
  --accent: #d5ad72;
  --accent-dark: #3f3325;
  --teal: #8db6b0;
  --red: #f29b96;
  --green: #9bc8aa;
  --blue: #a1bfdd;
  --radius: 5px;
  --sidebar: 232px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
input,
select,
textarea {
  min-width: 0;
  color: var(--text);
  background: #10171d;
  border: 1px solid #3a4a57;
  border-radius: 4px;
  padding: 10px 11px;
  width: 100%;
  line-height: 1.4;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}
input:hover,
select:hover,
textarea:hover {
  border-color: #61727f;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
input[readonly] {
  color: var(--muted);
  background: #16212a;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  flex-shrink: 0;
  margin: 2px 0;
}
input[type="file"] {
  padding: 12px;
}
textarea {
  resize: vertical;
  min-height: 84px;
}
select {
  padding-right: 28px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
p {
  margin: 0 0 14px;
}
h1,
h2,
h3,
h4 {
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 12px;
}
h1 {
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -0.75px;
}
h2 {
  font-size: 18px;
  font-weight: 630;
  letter-spacing: -0.25px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
small {
  font-size: 12px;
  color: var(--muted);
}
strong {
  font-weight: 600;
}
code {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  background: #10171e;
  border-radius: 3px;
  padding: 2px 5px;
  overflow-wrap: anywhere;
}
pre {
  overflow: auto;
  padding: 16px;
  background: #0c1217;
  border: 1px solid var(--line);
  border-radius: 4px;
}
pre code {
  padding: 0;
  background: none;
}
hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
details {
  margin: 12px 0;
}
summary {
  cursor: pointer;
  color: var(--accent);
  padding: 7px 0;
  font-size: 13px;
}
details[open] > summary {
  margin-bottom: 12px;
}
ul {
  padding-left: 22px;
}
li + li {
  margin-top: 6px;
}
dl {
  margin: 0;
}
img {
  max-width: 100%;
}
.icon {
  vertical-align: middle;
  flex-shrink: 0;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.fine-print {
  color: var(--muted-2);
  font-size: 12px;
  margin-top: 16px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  padding: 0;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -70px;
  background: var(--accent);
  color: #151c22;
  padding: 10px 18px;
  z-index: 300;
}
.skip-link:focus {
  top: 10px;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.break-all {
  word-break: break-all;
}
.full {
  width: 100%;
}
.text-link {
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #5d513f;
}
.text-link:hover {
  text-decoration-color: var(--accent);
  color: #edcca0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  margin: 0 0 11px;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar);
  background: #10171d;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 29px 15px 20px;
  z-index: 60;
  overflow-y: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 11px 27px;
  color: #f1e7d8;
}
.brand > span {
  font-size: 24px;
  letter-spacing: 3.6px;
  font-weight: 650;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.7px;
  color: var(--muted);
  padding-top: 8px;
}
.sidebar-section-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #778d9c;
  margin: 18px 12px 10px;
  font-weight: 700;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 4px;
  color: #a8bac6;
  font-size: 12px;
  font-weight: 500;
  min-height: 41px;
  position: relative;
}
.nav-link .icon {
  color: #7c909f;
}
.nav-link:hover {
  background: #1b2730;
  color: white;
}
.nav-link.active {
  background: #2d2922;
  color: #edd2ac;
}
.nav-link.active .icon {
  color: var(--accent);
}
.nav-link.active:before {
  content: "";
  position: absolute;
  left: -15px;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: var(--accent);
}
.sidebar-bottom {
  margin-top: auto;
  padding: 30px 12px 0;
  color: var(--muted-2);
  font-size: 10px;
}
.source-state {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #acbdb9;
  margin-bottom: 10px;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px #26403e;
}
.sidebar-bottom p {
  line-height: 1.7;
  margin: 0;
}
.workspace-shell {
  margin-left: var(--sidebar);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 71px;
  border-bottom: 1px solid var(--line);
  padding: 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #10171de8;
}
.global-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(450px, 45%);
  color: #8b9dac;
}
.global-search input {
  border: 0;
  background: none;
  padding: 12px 0;
  color: var(--text);
  font-size: 12px;
}
.global-search input:focus {
  outline: none;
}
.global-search:focus-within {
  border-bottom: 1px solid var(--accent);
}
.search-go {
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  background: var(--panel);
  font-size: 12px;
  padding: 0 6px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 21px;
}
.language-control {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
}
.language-control select {
  border: none;
  background: transparent;
  padding: 6px;
  width: 100px;
  font-size: 11px;
  color: var(--muted);
}
.account-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
}
.avatar {
  width: 30px;
  height: 30px;
  background: #2c3439;
  color: #d6c4a7;
  border: 1px solid #4f514c;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu {
  display: none !important;
}
.sidebar-overlay {
  display: none;
}
#main {
  flex: 1;
  padding: 35px 36px 45px;
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
  outline: none;
}
footer {
  border-top: 1px solid var(--line);
  padding: 18px 36px;
  font-size: 10px;
  letter-spacing: 0.1px;
  color: #7b8d99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 29px;
}
.page-heading > div:first-child {
  min-width: 0;
}
.page-heading h1 {
  margin-bottom: 9px;
}
.page-intro {
  color: var(--muted);
  max-width: 790px;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.page-heading > .toolbar {
  flex-shrink: 0;
  padding-top: 22px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 9px 14px;
  border: 1px solid #3c4b55;
  border-radius: 4px;
  background: #1c2730;
  color: #dce5eb;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
.button:hover {
  background: #2a3944;
  border-color: #63717b;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1b1e20;
}
.button.primary:hover {
  background: #e5c18c;
  border-color: #e5c18c;
}
.button.danger {
  background: #532f31;
  border-color: #986060;
  color: #ffddd9;
}
.button.danger:hover {
  background: #6c393b;
}
.button.danger-quiet,
.danger-quiet {
  color: #dca09d;
}
.button.compact {
  font-size: 11px;
  padding: 7px 10px;
  min-height: 32px;
}
.button.icon-only {
  min-width: 38px;
  padding: 7px;
  font-size: 21px;
  line-height: 1;
}
.icon-button {
  border: 0;
  background: none;
  padding: 7px;
  min-width: 32px;
  min-height: 32px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.icon-button:hover {
  background: var(--hover);
  color: var(--text);
}
.icon-button.danger-quiet:hover {
  color: var(--red);
}
.button-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 17px;
}
.button-stack > .button {
  width: 100%;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-header h2,
.section-header h3 {
  margin: 0;
}
.section-header p {
  margin: 7px 0 0;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  margin-bottom: 20px;
}
.panel > :last-child {
  margin-bottom: 0;
}
.panel > .empty-state {
  border: 0;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #192630;
  border: 1px solid #364b59;
  border-left: 3px solid #7497ad;
  border-radius: 4px;
  padding: 14px 16px;
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1.7;
  color: #bfcfd9;
}
.notice > .icon {
  margin-top: 3px;
  color: #85a9bf;
}
.notice.warning {
  background: #28261f;
  border-color: #5a4d35;
  border-left-color: var(--accent);
  color: #dac8a6;
}
.notice.warning > .icon {
  color: var(--accent);
}
.notice.error {
  background: #2b2025;
  border-color: #69424b;
  border-left-color: #cf8d94;
  color: #edbfc3;
}
.notice.error > .icon {
  color: #d9949c;
}
.notice.success {
  background: #1c2b24;
  border-color: #42654f;
  border-left-color: #8fc49e;
  color: #b5d8bf;
}
.notice ul {
  margin: 6px 0 0;
}
.notice p:last-child {
  margin-bottom: 0;
}
.badge {
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  font-weight: 600;
  background: #24313b;
  color: #b7c7d3;
  border: 1px solid #405260;
  border-radius: 3px;
  padding: 3px 6px;
  display: inline-block;
  vertical-align: middle;
}
.badge.pve {
  background: #21342f;
  border-color: #425f53;
  color: #a7cfbd;
}
.badge.pvp {
  background: #392a31;
  border-color: #674754;
  color: #ddb1c4;
}
.badge.mixed {
  background: #333025;
  border-color: #645b3f;
  color: #d6c998;
}
.badge.private,
.badge.unverified,
.badge.draft,
.badge.incomplete,
.badge.unavailable,
.badge.language {
  background: #252c33;
  border-color: #45505a;
  color: #acb8c2;
}
.badge.documented,
.badge.reviewed {
  background: #253342;
  border-color: #4a6079;
  color: #b6cbdf;
}
.badge.tested,
.badge.active,
.badge.consistent,
.badge.resolved {
  background: #24382e;
  border-color: #486653;
  color: #b1d7bd;
}
.badge.reevaluate,
.badge.open,
.badge.medium {
  background: #3a3024;
  border-color: #6b5638;
  color: #e2c28f;
}
.badge.invalid,
.badge.disabled,
.badge.high {
  background: #3c2931;
  border-color: #764b59;
  color: #e8adbd;
}
.badge.archived,
.badge.dismissed {
  background: #272a2d;
  border-color: #4b4e51;
  color: #9ea8ae;
}
.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
}
.field {
  margin: 0 0 17px;
  min-width: 0;
}
.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #acbdc9;
  margin-bottom: 7px;
}
.field label > span {
  color: var(--accent);
}
.field small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.field .field-error {
  color: var(--red);
}
.field-error:empty {
  display: none;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 23px;
  row-gap: 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.55;
  margin: 12px 0;
}
.check small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.empty-state {
  padding: 37px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px dashed #3a4650;
  border-radius: 4px;
  color: var(--muted);
  font-size: 12px;
  gap: 13px;
}
.empty-state > .icon {
  color: #647f91;
}
.empty-state p {
  max-width: 550px;
  margin: 0;
}
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: var(--muted);
}
.launch-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 25px;
}
.launch-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #172129;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 21px 19px;
  position: relative;
  min-height: 197px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.launch-card:hover {
  border-color: #637686;
  background: #1c2a33;
}
.launch-card.primary {
  border-top: 2px solid var(--accent);
  background: #1e2428;
}
.launch-card.primary:hover {
  border-color: var(--accent);
}
.launch-card > .icon {
  position: absolute;
  right: 17px;
  bottom: 17px;
  color: var(--accent);
}
.launch-symbol {
  color: var(--accent);
  background: #2b302e;
  width: 42px;
  height: 42px;
  border: 1px solid #4c4c43;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.launch-card .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
  margin: 2px 0 10px;
}
.launch-card h2 {
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 11px;
}
.launch-card p:not(.eyebrow) {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 17px;
  line-height: 1.65;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.85fr);
  gap: 25px;
  margin-top: 33px;
}
.dashboard-columns > .section-header {
  margin-bottom: 15px;
}
.real-counters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-bottom: 20px;
  background: #131c23;
}
.real-counters > a {
  display: flex;
  flex-direction: column;
  padding: 16px 21px;
  border-right: 1px solid var(--line);
}
.real-counters > a:last-child {
  border: 0;
}
.real-counters strong {
  font-size: 26px;
  font-weight: 550;
  color: #d5dbdf;
}
.real-counters span {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.real-counters > a:hover {
  background: var(--panel-2);
}
.integration-panel {
  margin-top: 23px;
}
.integration-panel p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.integration-panel .section-header {
  align-items: flex-start;
  flex-wrap: wrap;
}
.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.guide-list.compact {
  grid-template-columns: 1fr;
  gap: 12px;
}
.guide-card {
  border: 1px solid var(--line);
  border-left: 2px solid #728d8f;
  background: var(--panel);
  border-radius: 4px;
  padding: 19px;
}
.guide-card h3 {
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.4;
}
.guide-card > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
}
.guide-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 10px;
  color: var(--muted-2);
  margin: 13px 0;
}
.guide-meta > span {
  margin-left: auto;
}
.guide-card > .text-link {
  font-size: 11px;
}
.guide-list.compact .guide-card {
  padding: 16px 18px;
}
.guide-list.compact .guide-card > p {
  font-size: 11px;
  max-height: 5.3em;
  overflow: auto;
}
.guide-list.compact .guide-card h3 {
  font-size: 13px;
  margin: 8px 0;
}
.builds-list {
  padding-top: 0;
  padding-bottom: 0;
}
.build-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line-soft);
}
.build-row:last-child {
  border-bottom: none;
}
.build-class-mark {
  width: 45px;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #26353d;
  border: 1px solid #4b5b63;
  color: #b5c5cb;
  font-size: 14px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.build-info {
  flex: 1;
  min-width: 0;
}
.build-info h3 {
  margin: 8px 0 5px;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.build-info h3 a:hover {
  color: var(--accent);
}
.build-info p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.build-trailing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 10px;
  color: var(--muted);
}
.build-trailing small {
  font-size: 10px;
}
.build-trailing > .text-link {
  margin-top: 5px;
}
.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 13px;
  background: #131c23;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-bar .field {
  flex: 1;
  min-width: 125px;
  margin-bottom: 0;
}
.filter-bar .field:first-child {
  flex: 1.8;
  min-width: 190px;
}
.filter-bar input,
.filter-bar select {
  font-size: 12px;
  height: 38px;
}
.filter-bar > .button {
  height: 38px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 30px;
}
.tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  scrollbar-width: thin;
}
.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 13px 17px;
  white-space: nowrap;
  margin-bottom: -1px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tab:hover {
  background: #1b2730;
  color: var(--text);
}
.tab.selected {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: #202521;
}
.tab > span {
  padding: 1px 5px;
  background: #35413f;
  border-radius: 3px;
  font-size: 9px;
  color: #c5c9c5;
}
.editor-heading {
  align-items: flex-start;
  margin-bottom: 25px;
}
.title-input {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.5px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  width: min(620px, 100%);
  border-radius: 0;
  color: var(--text);
  margin-bottom: 10px;
}
.title-input:hover {
  border-bottom-color: #4e5d66;
}
.title-input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.editor-heading > .toolbar {
  padding-top: 20px;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 22px;
  align-items: start;
}
.editor-main {
  min-width: 0;
}
.editor-main > .tabs {
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 5px 5px 0 0;
  background: #131c23;
}
.editor-main > .tabs .tab {
  padding: 13px 14px;
  font-size: 11px;
}
.editor-panel {
  border-radius: 0 0 5px 5px;
  border-top: 0;
  min-height: 520px;
  padding: 26px;
}
.editor-aside .panel {
  padding: 18px;
}
.editor-aside h2 {
  font-size: 14px;
  margin-bottom: 13px;
}
.editor-aside .notice {
  padding: 10px;
  font-size: 10px;
}
.editor-aside .notice .icon {
  display: none;
}
.editor-aside .data-grid {
  grid-template-columns: 1fr;
}
.editor-aside .data-grid dt {
  margin-top: 6px;
}
.editor-aside .data-grid dd {
  margin: 0;
}
.stats-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 13px;
}
.stats-form .field:first-child {
  grid-column: 1/-1;
}
.stats-form input {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.stats-form .field {
  margin-bottom: 14px;
}
.stats-form .field label {
  font-size: 10px;
}
.entry-row {
  border: 1px solid var(--line);
  background: #111a21;
  border-radius: 4px;
  margin-bottom: 16px;
  padding: 17px;
}
.entry-row > header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-soft);
  padding: 0 0 12px;
  margin-bottom: 16px;
}
.entry-row > header > strong {
  font-size: 13px;
  flex: 1;
  overflow-wrap: anywhere;
}
.entry-row > header > .icon-button {
  margin-left: auto;
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 17px;
}
.entry-grid > .field {
  margin-bottom: 13px;
}
.entry-row .field input,
.entry-row .field select {
  font-size: 12px;
}
.source-picker {
  max-height: 350px;
  overflow: auto;
  border: 1px solid var(--line);
  background: #111a21;
  padding: 5px 14px;
  border-radius: 4px;
}
.source-picker > .check {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.source-picker > .check:last-child {
  border: 0;
}
.source-picker .check > input {
  margin-top: 5px;
}
.source-picker small {
  line-height: 1.55;
}
.board-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin: 16px 0;
  font-size: 12px;
  color: var(--muted);
}
.board-viewport {
  height: 400px;
  width: 100%;
  overflow: auto;
  background: #0c151b;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.board {
  display: block;
}
.node-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 17px;
}
.node-list > article {
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 4px;
  background: #111a21;
}
.node-list .check {
  margin: 0;
}
.node-list details {
  margin: 4px 0 0;
}
.node-list summary {
  font-size: 10px;
}
.node-list .data-grid {
  display: block;
}
.node-list dd {
  margin: 0 0 8px;
}
.result-heading {
  margin-bottom: 14px;
}
.form-message:empty {
  display: none;
}
.table-wrap {
  overflow-x: auto;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
  line-height: 1.6;
}
th,
td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  background: #1b2730;
  color: #a7bac6;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 600;
}
tbody th {
  color: #d6e0e7;
  font-weight: 600;
  min-width: 150px;
}
tbody td {
  color: var(--muted);
  min-width: 110px;
}
tbody tr:last-child > td,
tbody tr:last-child > th {
  border-bottom: 0;
}
tbody tr:nth-child(even) {
  background: #141f27;
}
tbody small {
  display: block;
  font-size: 10px;
  color: #8fa2af;
  margin-top: 5px;
}
table .badge {
  margin: 2px 4px 2px 0;
}
.data-grid {
  display: grid;
  grid-template-columns: minmax(100px, 180px) minmax(0, 1fr);
  gap: 10px 20px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.data-grid > dt {
  color: var(--muted);
  font-size: 11px;
}
.data-grid > dd {
  margin: 0;
  color: #cbd8e1;
}
.data-grid.nested {
  grid-template-columns: minmax(100px, 145px) minmax(0, 1fr);
  gap: 7px 13px;
}
.data-list {
  padding-left: 18px;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.data-list > li {
  padding: 3px 0;
}
.source-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.source-row:first-child {
  padding-top: 0;
}
.source-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.source-row > div:first-child {
  flex: 1;
  min-width: 0;
}
.source-row h3 {
  margin: 10px 0;
  font-size: 16px;
}
.source-row p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 12px;
}
.source-row > div:last-child > .text-link {
  white-space: nowrap;
  font-size: 11px;
  margin-top: 9px;
}
.inline-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 10px;
}
.inline-dl dt {
  color: #758b9a;
}
.inline-dl dd {
  color: var(--muted);
  margin: 0 15px 0 0;
}
.classes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.class-card {
  padding: 23px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 255px;
}
.class-monogram {
  height: 45px;
  width: 45px;
  border: 1px solid #65746e;
  background: #25352f;
  color: #bfd0c2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  font-family: Georgia, serif;
  margin-bottom: 20px;
}
.class-card h2 {
  font-size: 21px;
  margin-top: 12px;
}
.class-card p {
  font-size: 12px;
  color: var(--muted);
}
.class-card > .button {
  margin-top: auto;
}
.class-card .meta {
  font-size: 10px;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.help-grid > .panel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.status-definitions {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 17px 20px;
}
.status-definitions dd {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.character-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.character-row:last-child {
  border: 0;
}
.character-row > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.character-row h2 {
  font-size: 20px;
  margin: 7px 0;
}
.character-row p {
  margin: 0 0 5px;
  font-size: 12px;
  color: var(--muted);
}
.character-emblem {
  width: 61px;
  height: 74px;
  background: #1e3039;
  border: 1px solid #4d6d7c;
  font-family: Georgia, serif;
  font-size: 31px;
  color: #a7c1cf;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.character-row small {
  font-size: 11px;
}
.detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}
.build-meta {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.read-context {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #151f27;
}
.read-context > div {
  padding: 16px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.read-context span,
.stat-strip span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 6px;
}
.read-context strong {
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 15px;
}
.stat-strip > div {
  background: #18242d;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
}
.stat-strip strong {
  font-size: 18px;
}
.detail-columns > aside .panel {
  padding: 19px;
}
.detail-columns > aside .panel h2 {
  font-size: 16px;
}
.comment {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 15px;
}
.comment > header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
}
.comment > header strong {
  font-size: 12px;
}
.comment time {
  font-size: 10px;
  color: var(--muted);
}
.comment > header > .icon-button {
  margin-left: auto;
}
.comment p {
  font-size: 13px;
  color: var(--muted);
}
.review {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.review:first-child {
  border: 0;
}
.review p {
  font-size: 12px;
  margin: 8px 0;
}
.review small {
  font-size: 10px;
}
.comparison-selectors {
  display: flex;
  align-items: center;
  gap: 20px;
}
.comparison-selectors > .field {
  flex: 1;
  margin-bottom: 0;
}
.comparison-selectors > .button {
  margin-top: 24px;
}
.compare-arrow {
  margin-top: 24px;
  color: var(--accent);
}
.action-list {
  display: flex;
  flex-direction: column;
}
.action-list > article {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.action-list > article:last-child {
  border: 0;
}
.action-list h3 {
  margin: 1px 0 9px;
}
.action-list p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 9px;
}
.action-number {
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  border: 1px solid #685c48;
  background: #302b23;
  color: #d9b780;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 3px;
}
.action-list small {
  display: block;
  font-size: 10px;
  margin-top: 8px;
}
.auth-panel {
  max-width: 480px;
  margin: 10px auto;
  padding: 28px;
}
.auth-panel .tabs {
  margin: -9px -9px 25px;
}
.auth-panel .tab {
  flex: 1;
  justify-content: center;
  padding: 13px 8px;
  font-size: 11px;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}
.account-grid > .panel {
  margin: 0;
}
.session-list > article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.session-list strong {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
  max-width: 330px;
}
.session-list small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.secret-key {
  padding: 17px;
  background: #0e171d;
  border: 1px solid #5d685c;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.secret-key > span {
  display: block;
  width: 100%;
  font-size: 11px;
  color: var(--muted);
}
.secret-key code {
  font-size: 17px;
  letter-spacing: 1px;
  flex: 1;
}
.plans-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.plan-action {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.plan-action .check {
  margin: 0 0 8px;
}
.plan-action .check strong {
  font-size: 12px;
}
.plan-action .check small {
  font-size: 11px;
  line-height: 1.7;
}
.plan-action .meta {
  padding-left: 27px;
}
.plan-action.done {
  opacity: 0.65;
}
.plan-action.done .check strong {
  text-decoration: line-through;
}
.favorite-row {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.favorite-row:last-child {
  border: 0;
}
.favorite-row > .build-row {
  flex: 1;
  border: none;
}
.notification {
  display: flex;
  gap: 17px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.notification:last-child {
  border: 0;
}
.notification-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.notification.unread .notification-icon {
  color: var(--accent);
  background: #302c25;
  border-color: #66533c;
}
.notification h3 {
  font-size: 14px;
  margin: 0 0 7px;
}
.notification p {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 7px;
}
.notification small {
  font-size: 10px;
}
.notification .text-link {
  display: block;
  margin-top: 9px;
  font-size: 11px;
}
.report-response {
  margin-top: 15px;
  border-left: 2px solid var(--teal);
  padding: 12px 17px;
  background: #192a2b;
}
.report-response > strong {
  font-size: 12px;
}
.report-response p {
  margin: 7px 0 0;
}
.user-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto 1.4fr auto;
  align-items: center;
  gap: 17px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.user-row:last-child {
  border: 0;
}
.user-row .field {
  margin: 0;
}
.user-row strong,
.user-row small {
  display: block;
  overflow-wrap: anywhere;
}
.user-row small {
  font-size: 10px;
  margin-top: 3px;
}
.user-row .meta {
  margin-top: 6px;
}
.user-row > .button {
  margin-top: 23px;
}
.catalog-admin-list > article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.catalog-admin-list > article:last-child {
  border: 0;
}
.catalog-admin-list > article > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.catalog-admin-list strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.catalog-admin-list code {
  font-size: 10px;
  color: var(--muted);
}
.catalog-admin-list small {
  font-size: 10px;
}
.moderation-report {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.moderation-report h3 {
  margin-top: 10px;
}
.moderation-report p {
  color: var(--muted);
  font-size: 12px;
}
.moderation-report form {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 17px;
  align-items: end;
  margin-top: 20px;
}
.moderation-report .field {
  margin: 0;
}
.moderation-report form > .button {
  margin-bottom: 0;
}
.admin-tabs .tab {
  font-size: 11px;
  padding-left: 15px;
  padding-right: 15px;
}
.history-list > article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.history-list strong,
.history-list small {
  display: block;
}
.history-list small {
  font-size: 10px;
  margin-top: 5px;
}
.boot {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 700px;
  padding: 30px;
  margin: 0 auto;
  text-align: center;
}
.boot h1 {
  font-size: 32px;
  letter-spacing: 5px;
  margin: 18px 0;
}
.boot h2 {
  font-size: 19px;
}
.boot p {
  color: var(--muted);
}
.boot > .notice {
  text-align: left;
  width: 100%;
}
.boot .button {
  margin-top: 12px;
}
dialog {
  background: #151f27;
  color: var(--text);
  border: 1px solid #52636d;
  border-radius: 6px;
  padding: 0;
  width: min(860px, calc(100% - 30px));
  max-height: 90vh;
  box-shadow: 0 25px 80px #0007;
}
dialog::backdrop {
  background: #050a0ed4;
}
.dialog-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #1b2730;
  border-bottom: 1px solid var(--line);
  padding: 17px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dialog-header h2 {
  margin: 0;
  font-size: 18px;
}
.dialog-body {
  padding: 25px;
}
.dialog-body > form > .field:last-of-type {
  margin-bottom: 0;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: calc(50% + var(--sidebar) / 2);
  transform: translate(-50%, 20px);
  padding: 12px 21px;
  border: 1px solid #5e7765;
  background: #243a2c;
  color: #d8ecdc;
  border-radius: 5px;
  box-shadow: 0 9px 30px #0008;
  z-index: 150;
  max-width: min(620px, 90vw);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #442d35;
  border-color: #9c606f;
  color: #ffced7;
}
#toast.warning {
  background: #3d3426;
  border-color: #a38754;
  color: #f4d9ac;
}
@media (min-width: 1550px) {
  #main {
    padding-left: 48px;
    padding-right: 48px;
  }
  .launch-card {
    padding: 24px;
  }
  .launch-card h2 {
    font-size: 18px;
  }
  .launch-card p:not(.eyebrow) {
    font-size: 12px;
  }
  .editor-layout {
    grid-template-columns: minmax(0, 1fr) 318px;
  }
  .editor-heading > .toolbar {
    max-width: 600px;
  }
  .editor-main > .tabs .tab {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 1260px) {
  :root {
    --sidebar: 210px;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand {
    gap: 9px;
    padding-left: 7px;
  }
  .brand > span {
    font-size: 21px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .nav-link {
    font-size: 11px;
    gap: 9px;
    padding-left: 9px;
  }
  .nav-link.active:before {
    left: -12px;
  }
  .topbar {
    padding: 0 24px;
  }
  #main {
    padding: 29px 24px 35px;
  }
  .launch-card {
    gap: 10px;
    padding: 18px 15px;
  }
  .launch-symbol {
    width: 32px;
    height: 32px;
  }
  .launch-symbol .icon {
    width: 20px;
    height: 20px;
  }
  .launch-card h2 {
    font-size: 14px;
  }
  .launch-card .eyebrow {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .dashboard-columns {
    gap: 18px;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  }
  .editor-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 16px;
  }
  .editor-heading {
    flex-direction: column;
    gap: 12px;
  }
  .editor-heading > .toolbar {
    padding-top: 0;
  }
  .editor-main > .tabs .tab {
    padding: 12px 11px;
    font-size: 10px;
  }
  .editor-panel {
    padding: 20px;
  }
  .editor-aside .panel {
    padding: 15px;
  }
  .classes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .user-row {
    grid-template-columns: 1.2fr 1fr auto;
  }
  .user-row > .field:nth-of-type(2) {
    grid-column: 1/3;
  }
  .user-row > .button {
    align-self: end;
    margin-top: 0;
  }
  .detail-columns {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 17px;
  }
  .read-context {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .topbar-right {
    gap: 14px;
  }
  .filter-bar .field {
    min-width: 120px;
  }
  .source-row {
    gap: 16px;
  }
}
@media (max-width: 1050px) {
  .launch-actions {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .launch-card {
    min-height: 0;
    padding: 18px;
    align-items: flex-start;
  }
  .launch-card > div {
    padding-right: 35px;
  }
  .launch-card p:not(.eyebrow) {
    margin: 0;
    font-size: 11px;
  }
  .launch-card h2 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .launch-card .eyebrow {
    margin-bottom: 5px;
    font-size: 8px;
  }
  .launch-symbol {
    width: 38px;
    height: 38px;
  }
  .launch-card > .icon {
    bottom: 23px;
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .guide-list.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .editor-aside > .panel {
    margin: 0;
  }
  .editor-aside > .panel:last-child {
    grid-column: 1/-1;
  }
  .editor-aside .button-stack {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .editor-aside .button-stack > .button {
    width: auto;
    flex: 1;
    min-width: 130px;
  }
  .editor-aside .stats-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editor-aside .stats-form .field:first-child {
    grid-column: 1/-1;
  }
  .classes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-columns {
    grid-template-columns: 1fr;
  }
  .detail-columns > aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .detail-columns > aside > .button {
    grid-column: 1/-1;
    margin-bottom: 15px;
  }
  .account-grid,
  .plans-list {
    grid-template-columns: 1fr;
  }
  .comparison-selectors {
    flex-wrap: wrap;
  }
  .comparison-selectors > .field {
    min-width: 200px;
  }
  .comparison-selectors > .button {
    width: 100%;
    margin-top: 0;
  }
  .comparison-selectors > .compare-arrow {
    display: none;
  }
  .global-search {
    width: min(380px, 44%);
  }
  .account-link > span:last-child {
    display: none;
  }
  .page-heading:not(.editor-heading) {
    flex-direction: column;
    gap: 12px;
  }
  .page-heading > .toolbar {
    padding: 0;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    width: 244px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .menu-open .sidebar {
    transform: translateX(0);
  }
  .menu-open .sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 50;
  }
  .menu-open {
    overflow: hidden;
  }
  .workspace-shell {
    margin: 0;
  }
  .topbar {
    height: 63px;
    padding: 0 17px;
    gap: 14px;
    position: sticky;
    top: 0;
    z-index: 40;
    background: #10171df7;
    backdrop-filter: blur(12px);
  }
  .mobile-menu {
    display: inline-flex !important;
  }
  .global-search {
    flex: 1;
    width: auto;
    min-width: 0;
    gap: 7px;
  }
  .global-search input {
    font-size: 11px;
    min-width: 0;
  }
  .global-search > .icon {
    width: 16px;
  }
  .search-go {
    display: none;
  }
  .topbar-right {
    gap: 9px;
  }
  .topbar-right > .icon-button {
    display: none;
  }
  .language-control > .icon {
    display: none;
  }
  .language-control select {
    width: 65px;
    padding: 5px 0;
    font-size: 10px;
  }
  .account-link .avatar {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .topbar-right > .button {
    min-height: 32px;
    font-size: 10px;
    padding: 6px 9px;
  }
  #main {
    padding: 27px 17px 35px;
  }
  h1 {
    font-size: 27px;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  .page-intro {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .page-heading > .toolbar {
    width: 100%;
  }
  .page-heading > .toolbar .button {
    flex: 1;
  }
  .launch-card {
    padding: 19px 15px;
  }
  .launch-card h2 {
    font-size: 17px;
  }
  .launch-card .eyebrow {
    font-size: 8px;
  }
  .launch-card p:not(.eyebrow) {
    font-size: 11px;
  }
  .launch-symbol {
    margin-top: 2px;
  }
  .notice {
    padding: 12px 14px;
    font-size: 11px;
    gap: 10px;
  }
  .notice > .icon {
    width: 16px;
    height: 16px;
  }
  .panel {
    padding: 18px;
    margin-bottom: 17px;
  }
  .section-header {
    gap: 10px;
  }
  .section-header h2 {
    font-size: 17px;
  }
  .section-header .text-link {
    font-size: 11px;
  }
  .guide-list,
  .guide-list.compact {
    grid-template-columns: 1fr;
  }
  .guide-list.compact .guide-card > p {
    max-height: none;
  }
  .dashboard-columns {
    margin-top: 27px;
  }
  .real-counters > a {
    padding: 15px;
  }
  .real-counters strong {
    font-size: 25px;
  }
  .real-counters span {
    font-size: 9px;
  }
  .build-row {
    gap: 12px;
    padding: 17px 0;
    flex-wrap: wrap;
  }
  .build-class-mark {
    width: 38px;
    height: 46px;
    font-size: 12px;
  }
  .build-info h3 {
    font-size: 14px;
    line-height: 1.4;
  }
  .build-info p {
    font-size: 10px;
  }
  .build-trailing {
    margin-left: 50px;
    flex: 1;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }
  .build-trailing > .text-link {
    margin: 0;
  }
  .filter-bar {
    padding: 15px;
    gap: 12px;
  }
  .filter-bar .field {
    flex: 1 1 calc(50% - 12px);
    min-width: 110px;
  }
  .filter-bar .field:first-child {
    flex-basis: 100%;
    min-width: 0;
  }
  .filter-bar > .button {
    width: 100%;
  }
  .form-grid {
    gap: 0 15px;
  }
  .field label {
    font-size: 10px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 13px;
  }
  .field small {
    font-size: 10px;
  }
  .tabs {
    margin-bottom: 17px;
  }
  .tab {
    font-size: 11px;
    padding: 12px 15px;
  }
  .title-input {
    font-size: 25px;
  }
  .editor-heading > .toolbar {
    gap: 6px;
  }
  .editor-heading > .toolbar > .button {
    font-size: 10px;
    padding: 8px 10px;
    flex: initial;
  }
  .editor-heading > .toolbar > .button:last-child {
    margin-left: auto;
  }
  .editor-heading > .toolbar > .icon-only {
    font-size: 21px;
    min-width: 32px;
  }
  .editor-heading > .toolbar .icon {
    width: 15px;
    height: 15px;
  }
  .editor-main > .tabs .tab {
    font-size: 11px;
  }
  .editor-panel {
    padding: 18px;
  }
  .editor-panel h2 {
    font-size: 17px;
  }
  .editor-panel .section-header {
    flex-wrap: wrap;
  }
  .entry-grid {
    gap: 0 13px;
  }
  .entry-row {
    padding: 14px;
  }
  .entry-row > header {
    gap: 7px;
    flex-wrap: wrap;
  }
  .entry-row > header > strong {
    font-size: 12px;
    flex-basis: 50%;
  }
  .entry-row > header > .badge {
    font-size: 8px;
  }
  .entry-row > header > .icon-button {
    min-width: 25px;
    min-height: 25px;
    padding: 3px;
  }
  .editor-aside {
    grid-template-columns: 1fr;
  }
  .editor-aside > .panel:last-child {
    grid-column: auto;
  }
  .editor-aside .stats-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editor-aside .stats-form .field:first-child {
    grid-column: 1/-1;
  }
  .editor-aside .panel {
    padding: 18px;
  }
  .editor-aside h2 {
    font-size: 16px;
  }
  .editor-aside .notice {
    font-size: 11px;
  }
  .source-row {
    flex-direction: column;
    gap: 7px;
    padding: 22px 0;
  }
  .source-row h3 {
    font-size: 15px;
  }
  .source-row p {
    font-size: 11px;
  }
  .source-row > div:last-child > .text-link {
    margin-top: 0;
  }
  .inline-dl {
    font-size: 9px;
  }
  .classes-grid {
    gap: 12px;
  }
  .class-card {
    padding: 17px;
    min-height: 250px;
  }
  .class-card h2 {
    font-size: 19px;
    overflow-wrap: anywhere;
  }
  .class-card .button {
    font-size: 10px;
    padding: 8px 10px;
    min-width: 0;
  }
  .class-card .class-monogram {
    height: 38px;
    width: 38px;
    font-size: 23px;
  }
  .class-card p {
    font-size: 11px;
  }
  .class-card .meta {
    min-height: 20px;
  }
  .help-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .status-definitions {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .status-definitions dd {
    margin-bottom: 11px;
  }
  .character-row {
    gap: 14px;
    flex-wrap: wrap;
  }
  .character-emblem {
    width: 48px;
    height: 59px;
    font-size: 26px;
  }
  .character-row h2 {
    font-size: 19px;
  }
  .character-row > .toolbar {
    width: 100%;
    margin-left: 62px;
  }
  .character-row > .toolbar > .button {
    flex: 1;
  }
  .character-row p {
    font-size: 11px;
  }
  .character-row small {
    font-size: 10px;
  }
  .detail-columns > aside {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .detail-columns > aside .panel {
    padding: 18px;
  }
  .read-context {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .read-context > div {
    padding: 13px;
  }
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-strip > div:first-child {
    grid-column: 1/-1;
  }
  .stat-strip strong {
    font-size: 19px;
  }
  .comment time {
    font-size: 9px;
  }
  .comment p {
    font-size: 12px;
  }
  .data-grid {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px 12px;
    font-size: 11px;
  }
  .data-grid.nested {
    display: block;
  }
  .data-grid.nested > dd {
    margin: 3px 0 10px;
  }
  .table-wrap {
    margin-left: 0;
  }
  table {
    font-size: 11px;
  }
  th,
  td {
    padding: 11px 12px;
  }
  thead th {
    font-size: 9px;
  }
  .auth-panel {
    margin: 7px auto;
    padding: 20px;
  }
  .auth-panel .tab {
    font-size: 10px;
  }
  .comparison-selectors {
    display: block;
  }
  .comparison-selectors > .field {
    margin-bottom: 16px;
  }
  .comparison-selectors > .button {
    margin-top: 0;
  }
  .action-list h3 {
    font-size: 14px;
  }
  .action-list p {
    font-size: 11px;
  }
  .action-list > article {
    gap: 12px;
    padding: 17px 0;
  }
  .action-number {
    width: 25px;
    height: 25px;
    font-size: 11px;
  }
  .account-grid {
    gap: 17px;
  }
  .account-grid .panel h2 {
    font-size: 17px;
  }
  .session-list > article {
    align-items: flex-start;
    gap: 10px;
  }
  .session-list strong {
    font-size: 11px;
    max-width: 210px;
  }
  .session-list .button {
    font-size: 9px;
    padding: 6px 9px;
  }
  .account-grid > .panel > .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .user-row {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .user-row > .check {
    grid-column: 1/-1;
  }
  .user-row > .field:nth-of-type(2) {
    grid-column: 1/2;
  }
  .user-row > .button {
    grid-column: 2/3;
  }
  .user-row > .form-message {
    grid-column: 1/-1;
  }
  .catalog-admin-list > article {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .catalog-admin-list .toolbar {
    width: 100%;
  }
  .catalog-admin-list .toolbar > .button {
    flex: 1;
  }
  .moderation-report form {
    grid-template-columns: 1fr;
  }
  .moderation-report form > .button {
    justify-self: end;
  }
  .node-list {
    grid-template-columns: 1fr;
  }
  .board-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .board-viewport {
    height: 330px;
  }
  footer {
    padding: 20px 17px;
    display: block;
    font-size: 9px;
  }
  footer > span {
    display: block;
    margin-bottom: 5px;
  }
  dialog {
    width: calc(100% - 20px);
    max-height: 93vh;
  }
  .dialog-header {
    padding: 15px 18px;
  }
  .dialog-header h2 {
    font-size: 16px;
  }
  .dialog-body {
    padding: 19px;
  }
  .dialog-body .form-grid {
    grid-template-columns: 1fr;
  }
  .dialog-body .notice {
    font-size: 11px;
  }
  .dialog-body .table-wrap {
    max-width: 100%;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .form-actions > .button {
    flex: 1;
  }
  .secret-key code {
    font-size: 15px;
  }
  .secret-key > .button {
    width: 100%;
  }
  #toast {
    left: 50%;
    bottom: 17px;
    font-size: 11px;
    width: max-content;
    max-width: calc(100% - 30px);
  }
  .pagination {
    font-size: 10px;
  }
  .pagination .toolbar {
    gap: 6px;
  }
  .pagination .button {
    font-size: 9px;
    padding: 6px 8px;
  }
  .boot {
    padding: 23px;
  }
  .boot h2 {
    font-size: 17px;
  }
}
@media (max-width: 390px) {
  .global-search input {
    width: 95px;
  }
  .topbar {
    gap: 8px;
    padding: 0 12px;
  }
  .language-control select {
    width: 52px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 12px;
  }
  .form-grid,
  .entry-grid {
    grid-template-columns: 1fr;
  }
  .classes-grid {
    grid-template-columns: 1fr;
  }
  .class-card {
    min-height: 190px;
  }
  .launch-symbol {
    display: none;
  }
  .launch-card > div {
    padding-right: 25px;
  }
  .title-input {
    font-size: 23px;
  }
  .editor-heading > .toolbar > .button {
    padding: 7px 8px;
  }
  .editor-heading > .toolbar > .button .icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.guide-adapt {
  display: flex;
  margin-top: 13px;
  min-height: 29px !important;
  font-size: 10px !important;
}
.error-details {
  font-size: 11px;
  color: var(--red);
  margin: -10px 0 22px;
  line-height: 1.7;
}
.error-details code {
  color: #c5abb5;
}
.evidence-links {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 10px;
}
.brand > span {
  overflow-wrap: anywhere;
  max-width: 151px;
}
.brand small {
  white-space: nowrap;
}
.field select[multiple] {
  padding: 5px;
  min-height: 130px;
}
.field select[multiple] option {
  padding: 7px 9px;
  font-size: 11px;
}
.field input[type="color"] {
  height: 40px;
  padding: 4px;
  max-width: 200px;
}
.catalog-admin-list .badge {
  align-self: flex-start;
}
@media print {
  .sidebar,
  .topbar,
  .toolbar,
  footer,
  .button,
  .icon-button,
  .tabs,
  #toast {
    display: none !important;
  }
  .workspace-shell {
    margin: 0;
  }
  #main {
    padding: 0;
    max-width: none;
  }
  body {
    color: #111;
    background: #fff;
  }
  .panel,
  .guide-card,
  .read-context,
  .stat-strip > div {
    break-inside: avoid;
    background: white;
    border-color: #aaa;
    color: #111;
  }
  h1,
  h2,
  h3,
  strong {
    color: #111;
  }
  .detail-columns,
  .dashboard-columns,
  .editor-layout {
    display: block;
  }
  .muted,
  p,
  small {
    color: #333;
  }
  .badge {
    color: #111;
    background: #eee;
    border-color: #aaa;
  }
  .notice {
    color: #111;
    background: #eee;
    border-color: #aaa;
  }
  .data-grid dd,
  .data-grid dt {
    color: #111;
  }
}
