/* [next]/internal/font/google/inter_c15e96cb.module.css [app-client] (css) */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/2c55a0e60120577a-s.0-dom-5bn10r2.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8-s.1y4-pdgsjb-pw.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86-s.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/5476f68d60460930-s.2uwcyprjm3xu3.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f-s.0k62hbripvv8p.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e-s.3-6t-g6q0vh0a.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter Fallback;
  src: local(Arial);
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0.0%;
  size-adjust: 107.12%;
}

.inter_c15e96cb-module__0bjUvq__className {
  font-family: Inter, Inter Fallback;
  font-style: normal;
}

.inter_c15e96cb-module__0bjUvq__variable {
  --font-inter: "Inter", "Inter Fallback";
}

/* [next]/internal/font/google/jetbrains_mono_dc871670.module.css [app-client] (css) */
@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../media/13bf9871fe164e7f-s.2f7nqdagzwx2-.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../media/cc545e633e20c56d-s.176arc174-8zp.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../media/71b036adf157cdcf-s.0bp8oijd_gu96.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../media/89b21bb081cb7469-s.1fby2rem9ngyr.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../media/3fe682a82f50d426-s.0vfdmo25voy_0.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../media/70bc3e132a0a741e-s.p.3t6q91iet4nsy.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: JetBrains Mono Fallback;
  src: local(Arial);
  ascent-override: 75.79%;
  descent-override: 22.29%;
  line-gap-override: 0.0%;
  size-adjust: 134.59%;
}

.jetbrains_mono_dc871670-module__SQQYPa__className {
  font-family: JetBrains Mono, JetBrains Mono Fallback;
  font-style: normal;
}

.jetbrains_mono_dc871670-module__SQQYPa__variable {
  --font-jbmono: "JetBrains Mono", "JetBrains Mono Fallback";
}

/* [project]/src/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: "Segoe UI", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-white: #fff;
    --spacing: .25rem;
    --radius-sm: .25rem;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .collapse {
    visibility: collapse;
  }

  .visible {
    visibility: visible;
  }

  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .top-1000 {
    top: calc(var(--spacing) * 1000);
  }

  .isolate {
    isolation: isolate;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .grow {
    flex-grow: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .resize {
    resize: both;
  }

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .overflow-x-auto {
    overflow-x: auto;
  }

  .bg-white {
    background-color: var(--color-white);
  }

  .lowercase {
    text-transform: lowercase;
  }

  .underline {
    text-decoration-line: underline;
  }

  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

.banner-actions {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.range-button {
  color: #e5fff5;
  background: #265b54;
  border-color: #79bdab;
}

.range-button:hover {
  background: #306d61;
}

.range-intro {
  color: #effaf7;
  background: #143e40;
  border-radius: 14px;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
  padding: 26px;
  display: flex;
}

.range-intro h2 {
  margin-bottom: 8px;
}

.range-intro p {
  color: #c2dcd5;
  max-width: 620px;
  margin: 0;
  font-size: 14px;
}

.range-icon {
  color: #8ce5c5;
  border: 1px solid #4a8877;
  border-radius: 12px;
  padding: 16px;
  display: inline-flex;
}

.range-level {
  letter-spacing: 1px;
  color: #9ee5ca;
  margin-left: auto;
  font-size: 12px;
}

@media (max-width: 950px) {
  .range-intro {
    flex-wrap: wrap;
  }

  .range-level {
    margin-left: 0;
  }
}

:root {
  --bg: #f5f7f9;
  --surface: #fff;
  --text: #172e37;
  --muted: #71818b;
  --line: #e4eaed;
  --accent: #137e72;
  --mint: #75e4c3;
  --sidebar: #10272d;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  font-family: Segoe UI, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

button {
  border: 0;
}

input, select, textarea {
  background: var(--surface);
  color: var(--text);
  border: 1px solid #d8e1e5;
  border-radius: 8px;
  min-width: 0;
  padding: 10px 12px;
}

input:focus, select:focus, textarea:focus {
  outline-offset: 2px;
  outline: 2px solid #39aa94;
}

textarea {
  resize: vertical;
  min-height: 84px;
}

button:focus-visible, a:focus-visible {
  outline-offset: 4px;
  outline: 3px solid #38b699;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  letter-spacing: -.8px;
  margin-bottom: 11px;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.25;
}

h2 {
  letter-spacing: -.35px;
  margin-bottom: 18px;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.35;
}

h3 {
  margin-bottom: 9px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
}

p {
  margin-bottom: 14px;
}

small {
  font-size: 13px;
}

strong {
  font-weight: 600;
}

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

.inline {
  align-items: center;
  gap: 10px;
  display: flex;
}

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

.stack {
  flex-direction: column;
  gap: 23px;
  display: flex;
}

.section {
  margin-top: 30px;
}

.button {
  white-space: nowrap;
  border: 1px solid #0000;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 17px;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s, transform .15s;
  display: inline-flex;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.primary {
  background: var(--accent);
  color: #fff;
}

.primary:hover:not(:disabled) {
  background: #09695e;
}

.secondary {
  background: var(--surface);
  color: #314851;
  border-color: #dce4e7;
}

.secondary:hover:not(:disabled) {
  background: #f1f6f5;
}

.ghost {
  color: #506771;
  background: none;
}

.ghost:hover {
  background: #e9f0f1;
}

.danger {
  color: #b23939;
  background: #fff1f1;
  border-color: #f1cccc;
}

.mint {
  background: var(--mint);
  color: #0e3b32;
}

.text-link {
  color: var(--accent);
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
}

.app-shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  background: var(--sidebar);
  color: #a9bbc1;
  z-index: 30;
  flex-direction: column;
  flex-shrink: 0;
  width: 254px;
  padding: 33px 20px 0;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}

.brand {
  color: #f3f8f7;
  letter-spacing: -1px;
  white-space: nowrap;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 650;
  display: flex;
}

.brand-icon {
  color: #72e1bd;
  background: #1c443f;
  border: 1px solid #326353;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  width: 39px;
  height: 42px;
  display: flex;
}

.brand-accent {
  color: #7ae0c1;
}

.brand small {
  letter-spacing: 1.35px;
  color: #8ba4a8;
  margin-top: 1px;
  font-size: 8px;
  font-weight: 500;
  display: block;
}

.nav-caption {
  letter-spacing: 1.9px;
  color: #718c94;
  margin: 37px 16px 14px;
  font-size: 10px;
  font-weight: 600;
}

.nav-link {
  border-radius: 7px;
  align-items: center;
  gap: 13px;
  margin: 5px 0;
  padding: 13px 14px;
  font-size: 14px;
  transition: background .15s;
  display: flex;
}

.nav-link span {
  flex: 1;
}

.nav-link:hover {
  color: #e6f5f1;
  background: #193940;
}

.nav-link.active {
  color: #83e4c7;
  background: #20443f;
  border: 1px solid #31584f;
  padding: 12px 13px;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}

.sidebar-note {
  background: linear-gradient(135deg, #1c373c, #193437);
  border: 1px solid #29474b;
  border-radius: 10px;
  padding: 17px 15px;
}

.sidebar-note strong {
  color: #d6e7e5;
  font-size: 12px;
}

.sidebar-note .inline {
  color: #68c6aa;
  gap: 7px;
}

.sidebar-note p {
  color: #9bb1b6;
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.8;
}

.sidebar-note a {
  color: #7ddabb;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  display: flex;
}

.profile-link {
  border-top: 1px solid #2c4147;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 23px 0;
  display: flex;
}

.avatar {
  color: #217a69;
  background: #d2efe7;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
}

.profile-link > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.profile-link strong {
  color: #e0eae9;
  text-overflow: ellipsis;
  font-size: 12px;
  display: block;
  overflow: hidden;
}

.profile-link small {
  color: #8fa5ad;
  text-overflow: ellipsis;
  font-size: 10px;
  display: block;
  overflow: hidden;
}

.main-shell {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  margin-left: 254px;
  display: flex;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  justify-content: space-between;
  align-items: center;
  height: 77px;
  padding: 0 40px;
  font-size: 13px;
  display: flex;
}

.topbar > .inline {
  gap: 16px;
}

.environment-label {
  letter-spacing: 1.9px;
  color: #8c999f;
  margin-right: 13px;
  font-size: 9px;
}

.header-login {
  color: var(--accent);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.main-content {
  flex: 1;
  width: 100%;
  max-width: 1680px;
  margin: auto;
  padding: 35px 40px 45px;
}

.footer {
  border-top: 1px solid var(--line);
  color: #8a989e;
  justify-content: space-between;
  margin: 0 40px;
  padding: 20px 0;
  font-size: 11px;
  display: flex;
}

.eyebrow {
  letter-spacing: 1.8px;
  color: #7b8d94;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
}

.page-heading {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  display: flex;
}

.page-heading p {
  color: var(--muted);
  max-width: 720px;
  margin: 0;
  font-size: 14px;
}

.welcome-banner {
  color: #fff;
  background: radial-gradient(1.5px 1.5px at 12% 24%, #ffffff8c 0, #0000 100%), radial-gradient(1px 1px at 34% 12%, #fff6 0, #0000 100%), radial-gradient(1.5px 1.5px at 58% 30%, #ffffff73 0, #0000 100%), radial-gradient(1px 1px at 78% 16%, #ffffff80 0, #0000 100%), radial-gradient(1px 1px at 88% 44%, #ffffff59 0, #0000 100%), radial-gradient(2px 2px at 22% 62%, #8bc4ff66 0, #0000 100%), radial-gradient(1.5px 1.5px at 68% 72%, #ffffff4d 0, #0000 100%), radial-gradient(1px 1px at 46% 52%, #ffffff4d 0, #0000 100%), linear-gradient(#050a14 0%, #081120 46%, #0b1a30 78%, #10253f 100%);
  border: 1px solid #1d2c45;
  border-radius: 15px;
  justify-content: space-between;
  min-height: 264px;
  padding: 31px 35px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px -18px #081226a6;
}

.welcome-banner:after {
  content: "";
  pointer-events: none;
  background: radial-gradient(120% 100% at 50% 130%, #57c8ff29 0%, #57c8ff0d 45%, #0000 70%);
  height: 90px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.banner-label {
  letter-spacing: 1.6px;
  color: #7fb8e8;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  display: flex;
}

.banner-label > span {
  background: #57c8ff;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  box-shadow: 0 0 8px #57c8ffcc;
}

.welcome-banner h2 {
  letter-spacing: -.5px;
  margin: 15px 0 11px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
}

.welcome-banner h2 span {
  color: #57c8ff;
}

.welcome-banner p {
  color: #9fb4cf;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.8;
}

.welcome-banner .button {
  min-height: 39px;
  padding: 10px 16px;
  font-size: 12px;
}

.welcome-banner .mint {
  color: #06131f;
  background: #57c8ff;
  border-color: #57c8ff;
}

.welcome-banner .mint:hover {
  background: #7fd4ff;
}

.welcome-banner .range-button {
  color: #cfe8ff;
  background: none;
  border: 1px solid #78beff80;
}

.welcome-banner .range-button:hover {
  background: #57c8ff1f;
  border-color: #78beffcc;
}

.banner-mark {
  flex-shrink: 0;
  justify-content: center;
  align-self: stretch;
  align-items: center;
  width: 300px;
  margin-right: 5px;
  display: flex;
  position: relative;
}

.orbit {
  aspect-ratio: 1;
  border: 1px dashed #6ba1ff38;
  border-radius: 50%;
  animation: 90s linear infinite alem-orbit;
  position: absolute;
  transform: rotate(-25deg);
}

.orbit-one {
  width: 170px;
}

.orbit-two {
  width: 250px;
  animation-duration: 140s;
  animation-direction: reverse;
}

.orbit-three {
  width: 340px;
  animation-duration: 200s;
}

@keyframes alem-orbit {
  from {
    transform: rotate(-25deg);
  }

  to {
    transform: rotate(335deg);
  }
}

.shield-mark {
  z-index: 1;
  color: #7fd0ff;
  background: linear-gradient(145deg, #3879c07a, #1e48786b);
  border: 1px solid #78beff46;
  border-radius: 27px;
  justify-content: center;
  align-items: center;
  width: 115px;
  height: 128px;
  display: flex;
  transform: rotate(-9deg);
  box-shadow: 0 0 65px #57c8ff17, inset 0 0 24px #78beff12;
}

.shield-mark svg {
  transform: rotate(9deg);
}

.mark-label {
  letter-spacing: 1.7px;
  color: #8fc6ef;
  z-index: 2;
  background: #0d1b30;
  border: 1px solid #78beff40;
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 8px;
  position: absolute;
}

.label-one {
  top: 37px;
  left: 21px;
  transform: rotate(-8deg);
}

.label-two {
  top: 99px;
  right: 0;
  transform: rotate(7deg);
}

.label-three {
  bottom: 10px;
  left: 58px;
  transform: rotate(-7deg);
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin: 23px 0 30px;
  display: grid;
}

.stats-grid .stat {
  background: linear-gradient(#0e1826 0%, #0b141f 100%);
  border: 1px solid #1e2c42;
  border-radius: 11px;
  min-width: 0;
  padding: 19px 21px;
  position: relative;
  overflow: hidden;
}

.stats-grid .stat:before {
  content: "";
  background: linear-gradient(90deg, #57c8ff8c, #0000 65%);
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.stats-grid .stat .between {
  color: #8ba3bf;
  gap: 5px;
  font-size: 12px;
}

.stats-grid .stat svg {
  color: #57c8ff;
}

.stats-grid .stat > strong {
  letter-spacing: -.9px;
  color: #eaf3fc;
  font-variant-numeric: tabular-nums;
  margin: 13px 0 8px;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.2;
  display: block;
}

.stats-grid .stat > small {
  color: #64798f;
  font-size: 10px;
}

.section-title {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  display: flex;
}

.section-title h2 {
  margin: 0;
  font-size: 19px;
}

.section-title > a {
  color: #668278;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: flex;
}

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

.track-list {
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 22px;
  display: flex;
}

.track-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 13px;
  display: inline-flex;
}

.track-chip-name {
  color: var(--ink);
  font-weight: 600;
}

.track-chip-count {
  color: var(--muted, #6b7280);
  font-size: 11px;
}

.direction-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  min-width: 0;
  padding: 22px 23px 0;
  transition: transform .18s, box-shadow .18s;
  display: flex;
}

.direction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px #143e3810;
}

.direction-icon {
  color: #26856f;
  background: #e5f5ef;
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  display: inline-flex;
}

.blue .direction-icon {
  color: #5089bd;
  background: #eaf1fc;
}

.violet .direction-icon {
  color: #8d73be;
  background: #f0ecf8;
}

.direction-number {
  color: #e5e9ec;
  letter-spacing: -1px;
  font-size: 26px;
  font-weight: 500;
}

.direction-card h3 {
  margin: 19px 0 8px;
  font-size: 18px;
}

.direction-card p {
  color: #839198;
  max-width: 230px;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.85;
}

.topic-tags {
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
  min-height: 42px;
  margin-top: auto;
  margin-bottom: 20px;
  display: flex;
}

.topic-tags span {
  color: #7b8a91;
  background: #f3f6f7;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 9px;
}

.direction-footer {
  color: #468773;
  border-top: 1px solid #eef1f3;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.blue .direction-footer {
  color: #5a86b0;
}

.violet .direction-footer {
  color: #9277b6;
}

.dashboard-bottom {
  grid-template-columns: 1.7fr 1fr;
  gap: 21px;
  margin-top: 30px;
  display: grid;
}

.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  min-width: 0;
  padding: 24px;
}

.panel .section-title h2 {
  font-size: 17px;
}

.empty {
  text-align: center;
  color: var(--muted);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 210px;
  padding: 38px 24px;
  display: flex;
}

.empty-icon {
  color: #8aaba3;
  background: #f1f5f5;
  border-radius: 13px;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
  display: flex;
}

.empty h3 {
  color: #465c64;
  margin-bottom: 7px;
  font-size: 15px;
}

.empty p {
  max-width: 340px;
  margin-bottom: 17px;
  font-size: 13px;
  line-height: 1.8;
}

.empty .text-link {
  font-size: 12px;
}

.learning-card {
  background: linear-gradient(130deg, #edf4f0, #f5f8f5);
  border-color: #dfe9e3;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 27px;
  display: flex;
}

.small-icon {
  color: #66967f;
  background: #dceae0;
  border: 1px solid #d2e3d8;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 15px;
  display: flex;
}

.learning-card h2 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.4;
}

.learning-card p {
  color: #81968a;
  margin-bottom: 15px;
  font-size: 12px;
  line-height: 1.9;
}

.learning-card .text-link {
  font-size: 12px;
}

.learning-note {
  color: #819888;
  border-top: 1px solid #dce6de;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 17px;
  font-size: 10px;
  display: flex;
}

.back-link {
  color: #74898b;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  display: inline-flex;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  display: grid;
}

.steps > div > span {
  color: #247c68;
  background: #e4f3ed;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 33px;
  height: 33px;
  margin: 12px 0;
  display: flex;
}

.steps p {
  color: var(--muted);
  font-size: 14px;
}

.catalog-toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
  display: flex;
}

.search-box {
  background: var(--surface);
  color: #8a999e;
  border: 1px solid #dce4e7;
  border-radius: 9px;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 0 14px;
  display: flex;
}

.search-box input {
  outline-offset: 0;
  background: none;
  border: 0;
  width: 100%;
  padding: 12px 0;
  font-size: 14px;
}

.filter-label {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.catalog-filters {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 23px;
  display: flex;
}

.catalog-filters select, .catalog-toolbar select, .filter-input {
  height: 42px;
  font-size: 13px;
}

.filter-input {
  max-width: 160px;
}

.tabs {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.tabs button {
  color: #7b8a91;
  background: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
}

.tabs button.selected {
  color: #25755f;
  background: #e2eee9;
  font-weight: 600;
}

.catalog-subline {
  margin-bottom: 23px;
  font-size: 12px;
}

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

.scenario-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  padding: 23px;
  display: flex;
}

.scenario-icon {
  color: #47977e;
  background: #eaf2ef;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 39px;
  height: 39px;
  display: flex;
}

.scenario-card > small {
  color: #8a969c;
  margin-top: 21px;
  font-size: 10px;
}

.scenario-card h3 {
  margin: 6px 0 10px;
  font-size: 18px;
}

.scenario-card h3 a:hover {
  color: var(--accent);
}

.scenario-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.difficulty {
  color: #6b8490;
  background: #f2f4f6;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 10px;
}

.difficulty.beginner {
  color: #358a6d;
  background: #ecf7f0;
}

.difficulty.advanced {
  color: #9b6c43;
  background: #fbf0e4;
}

.scenario-meta {
  color: #8a9aa0;
  gap: 15px;
  margin-top: auto;
  padding: 14px 0 18px;
  font-size: 11px;
  display: flex;
}

.scenario-meta > span {
  align-items: center;
  gap: 6px;
  display: flex;
}

.scenario-footer {
  border-top: 1px solid #edf0f2;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 17px;
  display: flex;
}

.scenario-footer > a {
  color: var(--accent);
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.badge {
  color: #6a7e87;
  white-space: nowrap;
  background: #edf1f4;
  border-radius: 5px;
  align-items: center;
  max-width: 100%;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1.4;
  display: inline-flex;
}

.status-running, .status-completed, .status-passed, .status-published, .status-active, .status-available {
  color: #358264;
  background: #e6f5ed;
}

.status-failed, .status-error, .status-disabled {
  color: #b35555;
  background: #fcecec;
}

.status-creating, .status-stopping, .status-in_progress, .status-pending, .status-draft {
  color: #a98739;
  background: #fbf2dd;
}

.progress-group {
  width: 100%;
  min-width: 90px;
}

.progress-group > .between {
  margin-bottom: 8px;
  font-size: 13px;
}

.progress {
  background: #eaf0ee;
  border-radius: 5px;
  width: 100%;
  height: 6px;
  overflow: hidden;
}

.progress > span {
  background: #53b69a;
  border-radius: 5px;
  height: 100%;
  transition: width .3s;
  display: block;
}

.detail-grid {
  grid-template-columns: 1fr 330px;
  gap: 23px;
  display: grid;
}

.start-panel {
  align-self: start;
  position: sticky;
  top: 25px;
}

.start-panel h2 {
  margin-top: 17px;
}

.start-panel .button {
  width: 100%;
}

.start-panel > p {
  margin: 18px 0 0;
  font-size: 12px;
}

.check-list {
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.check-list li {
  color: #6d828b;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  display: flex;
}

.check-list svg {
  color: #5bb195;
  flex-shrink: 0;
  margin-top: 3px;
}

.details {
  margin: 22px 0;
}

.details > div {
  border-bottom: 1px solid #eef1f2;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  font-size: 13px;
  display: flex;
}

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

.details dd {
  margin: 0;
  font-weight: 500;
}

.two-columns {
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  display: grid;
}

.plain-list {
  color: #6e818a;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.85;
}

.plain-list li + li {
  margin-top: 9px;
}

.table-wrap {
  padding: 0;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  font-size: 13px;
}

th {
  color: #83929a;
  white-space: nowrap;
  background: #f7f9fa;
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 500;
}

td {
  color: #506770;
  border-top: 1px solid #edf1f3;
  padding: 16px 18px;
}

td strong {
  color: #2b424b;
}

td code {
  overflow-wrap: anywhere;
  font-size: 11px;
}

.table-subtitle {
  color: #92a0a6;
  margin-top: 4px;
  font-size: 11px;
  display: block;
}

.table-actions {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.table-actions .button {
  min-height: 31px;
  padding: 5px 9px;
  font-size: 11px;
}

.pagination {
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 13px;
  display: flex;
}

.pagination .button {
  min-height: 34px;
  font-size: 12px;
}

.active-session {
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  display: flex;
}

.active-session > div {
  flex: 1;
}

.profile-panel {
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
  display: flex;
}

.profile-panel h2, .profile-panel h3 {
  margin-bottom: 6px;
}

.profile-panel p {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 14px;
}

.profile-panel .details {
  margin-left: auto;
}

.avatar.large {
  width: 65px;
  height: 65px;
  font-size: 24px;
}

.loading {
  min-height: 200px;
  color: var(--muted);
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  display: flex;
}

.spin {
  animation: 1s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-state {
  color: #a4714d;
  background: #fffbf7;
  border: 1px solid #efdcd0;
  border-radius: 10px;
  align-items: center;
  gap: 15px;
  margin: 18px 0;
  padding: 21px 24px;
  display: flex;
}

.error-state > svg {
  flex-shrink: 0;
}

.error-state > div {
  flex: 1;
}

.error-state strong {
  font-size: 14px;
}

.error-state p {
  margin: 4px 0 0;
  font-size: 13px;
}

.notice {
  color: #58786b;
  background: #eef5f2;
  border-radius: 8px;
  padding: 15px 18px;
  font-size: 13px;
  line-height: 1.8;
}

.form-error {
  color: #b44d4d;
  overflow-wrap: anywhere;
  margin: 10px 0;
  font-size: 13px;
}

.action-wrap {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.action-wrap .form-error {
  max-width: 330px;
}

.modal {
  border: 1px solid var(--line);
  width: min(720px, 100vw - 36px);
  max-height: 88vh;
  color: var(--text);
  background: var(--surface);
  border-radius: 16px;
  margin: auto;
  padding: 27px;
  position: fixed;
  inset: 0;
  overflow: auto;
  box-shadow: 0 25px 100px #09252340;
}

.modal::backdrop {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #10262f80;
}

.modal > .between {
  margin-bottom: 20px;
}

.modal > .between h2 {
  margin: 0;
}

.modal > p {
  color: var(--muted);
  font-size: 14px;
}

.modal-actions {
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  display: flex;
}

.field {
  color: #59717b;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
}

.field input, .field textarea, .field select {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  display: grid;
}

.span-two {
  grid-column: span 2;
}

.mono {
  font-family: Consolas, Courier New, monospace;
  font-size: 13px !important;
}

.route-tabs {
  border-bottom: 1px solid var(--line);
  gap: 25px;
  margin-bottom: 25px;
  display: flex;
}

.route-tabs a {
  color: var(--muted);
  padding: 12px 0;
  font-size: 14px;
}

.route-tabs a.selected {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.group-select {
  max-width: 400px;
  margin-bottom: 25px;
}

.group-heading {
  align-items: center;
  gap: 12px;
  margin: 25px 0;
  display: flex;
}

.group-heading h2 {
  margin: 0;
}

.group-heading > span {
  color: var(--muted);
  margin-left: auto;
  font-size: 13px;
}

.stats-grid.compact {
  grid-template-columns: 1fr 1fr;
}

.workspace-heading {
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
  display: flex;
}

.workspace-heading h1 {
  font-size: 26px;
}

.workspace-heading .back-link {
  margin-bottom: 10px;
}

.timer {
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: nowrap;
  border-radius: 9px;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-family: Consolas, monospace;
  font-size: 21px;
  display: flex;
}

.timer small {
  color: var(--muted);
  font-family: Segoe UI, sans-serif;
  font-size: 11px;
}

.workspace-grid {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  grid-template-columns: 210px minmax(260px, 1fr) minmax(280px, 1fr);
  min-height: 580px;
  display: grid;
  overflow: hidden;
}

.task-sidebar {
  border-right: 1px solid var(--line);
  background: #f9fbfb;
}

.task-sidebar-heading {
  border-bottom: 1px solid var(--line);
  padding: 23px 18px;
}

.task-sidebar-heading h2 {
  font-size: 16px;
}

.task-nav-item {
  text-align: left;
  color: #6e868f;
  background: none;
  border-bottom: 1px solid #e9efee;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  padding: 18px 16px;
  font-size: 12px;
  display: flex;
}

.task-nav-item.selected {
  color: #237b64;
  background: #e6f2ed;
  border-left: 3px solid #4ea68c;
  padding-left: 13px;
}

.task-nav-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.task-nav-item small {
  opacity: .75;
  margin-bottom: 4px;
  font-size: 10px;
  display: block;
}

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

.task-content {
  padding: 26px 23px;
}

.task-content h2 {
  margin: 21px 0 14px;
}

.task-content p {
  color: #6c8088;
  font-size: 13px;
  line-height: 1.85;
}

.preserve-lines {
  white-space: pre-line;
}

.task-section {
  margin: 22px 0;
}

.task-section h3 {
  font-size: 14px;
}

.task-section .plain-list {
  padding-left: 18px;
  font-size: 13px;
}

.task-form {
  flex-direction: column;
  gap: 17px;
  display: flex;
}

.task-form .button {
  align-self: flex-start;
  font-size: 12px;
}

.hint-section {
  border-top: 1px solid var(--line);
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  display: flex;
}

.hint-section > small {
  font-size: 10px;
}

.hint-section .button {
  font-size: 12px;
}

.upload-control {
  background: #f5f8f7;
  border-radius: 8px;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  display: flex;
}

.upload-control input {
  font-size: 11px !important;
}

.terminal-panel {
  color: #94b4b9;
  background: #10242c;
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.terminal-header {
  background: #172d36;
  border-bottom: 1px solid #2d424a;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 18px 17px;
  font-size: 12px;
  display: flex;
}

.terminal-header > span {
  align-items: center;
  gap: 9px;
  display: flex;
}

.terminal-empty {
  text-align: center;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 30px 25px;
  display: flex;
}

.terminal-empty > svg {
  color: #557580;
  margin-bottom: 23px;
}

.terminal-empty h3 {
  color: #a7c1c6;
  font-size: 15px;
}

.terminal-empty p {
  color: #78969f;
  font-size: 12px;
  line-height: 1.9;
}

.terminal-panel iframe {
  background: var(--surface);
  border: 0;
  flex: 1;
  width: 100%;
  min-height: 500px;
}

.workspace-footer {
  color: #6e858b;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  font-size: 12px;
  display: flex;
}

.result-hero {
  background: #e9f5ef;
  border: 1px solid #d8eadf;
  border-radius: 14px;
  align-items: center;
  gap: 45px;
  margin-bottom: 25px;
  padding: 38px;
  display: flex;
}

.result-hero p {
  color: #719184;
  font-size: 14px;
}

.score-ring {
  background: conic-gradient(#399d80 var(--score), #cee6da 0);
  border-radius: 50%;
  flex-shrink: 0;
  width: 170px;
  height: 170px;
  padding: 10px;
}

.score-ring > div {
  background: #e9f5ef;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.score-ring strong {
  color: #26785f;
  font-size: 49px;
  line-height: 1.1;
}

.score-ring span {
  color: #6d9985;
  margin-top: 8px;
  font-size: 12px;
}

.result-task {
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
  font-size: 14px;
}

.result-task p {
  margin: 8px 0 0;
  font-size: 13px;
}

.actions-requirement {
  background: var(--amber-soft, #b453090f);
  border-radius: var(--radius-sm, 6px);
  border: 1px solid #b4530940;
  padding: 12px 14px;
}

.actions-requirement h3 {
  font-size: 14px;
}

.small-stack {
  gap: 4px;
}

.result-evidence {
  font-size: 13px;
  font-weight: 600;
  margin: 6px 0 0 !important;
}

.result-evidence.ok {
  color: var(--ok);
}

.result-evidence.partial {
  color: var(--warn);
}

.auth-page {
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  display: grid;
}

.auth-story {
  color: #d4e9e2;
  background: linear-gradient(150deg, #10272d, #153e3b);
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
  padding: 50px 65px;
  display: flex;
  position: relative;
}

.auth-story h1 {
  letter-spacing: -2px;
  color: #f4faf8;
  margin: 24px 0;
  font-size: 57px;
  line-height: 1.2;
}

.auth-story h1 em {
  color: #79dcbc;
  font-style: normal;
}

.auth-story p {
  color: #9fbdb7;
  max-width: 405px;
  font-size: 15px;
  line-height: 1.9;
}

.auth-story .eyebrow {
  color: #70a994;
  font-size: 10px;
}

.auth-points {
  flex-direction: column;
  gap: 17px;
  margin-top: 35px;
  display: flex;
}

.auth-points > span {
  color: #b0d1c7;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  display: flex;
}

.auth-points svg {
  color: #6bc6a6;
  width: 19px;
}

.auth-story > small {
  color: #7ea299;
  font-size: 10px;
}

.auth-form-side {
  background: #fafcfb;
  flex-direction: column;
  justify-content: space-between;
  gap: 35px;
  padding: 50px 65px;
  display: flex;
}

.auth-form-side > .back-link {
  align-self: flex-start;
}

.auth-form {
  width: 100%;
  max-width: 380px;
  margin: auto;
}

.auth-symbol {
  color: #38896f;
  background: #e4f1eb;
  border-radius: 17px;
  justify-content: center;
  align-items: center;
  width: 65px;
  height: 65px;
  margin-bottom: 23px;
  display: inline-flex;
}

.auth-form h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.auth-form > p {
  color: #7d9089;
  font-size: 14px;
  line-height: 1.9;
}

.auth-form > .notice {
  margin: 24px 0;
}

.auth-form > .button {
  width: 100%;
  margin-top: 10px;
}

.auth-security {
  color: #91a39b;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 17px 0 30px;
  font-size: 10px;
  display: flex;
}

.auth-switch {
  text-align: center;
  color: #86978f;
  border-top: 1px solid #e1eae5;
  padding-top: 25px;
  font-size: 13px;
}

.auth-switch a, .reset-link {
  color: #36876d;
  font-weight: 600;
}

.reset-link {
  text-align: center;
  margin: 20px 0;
  font-size: 12px;
  display: block;
}

.auth-form-side > small {
  text-align: center;
  font-size: 11px;
}

.mobile-toggle, .mobile-close, .nav-overlay {
  display: none;
}

.skip-link {
  z-index: 100;
  background: var(--surface);
  color: var(--accent);
  padding: 10px;
  position: fixed;
  top: -100px;
  left: 20px;
}

.skip-link:focus {
  top: 10px;
}

@media (min-width: 1600px) {
  .main-content {
    padding: 40px 55px;
  }

  .welcome-banner {
    min-height: 300px;
  }

  .welcome-banner h2 {
    font-size: 35px;
  }

  .welcome-banner p {
    font-size: 15px;
  }

  .direction-card {
    padding: 26px 28px 0;
  }

  .direction-card p {
    font-size: 14px;
  }

  .topic-tags span {
    font-size: 11px;
  }

  .direction-footer {
    font-size: 13px;
  }

  .stat .between {
    font-size: 14px;
  }

  .stat > small {
    font-size: 12px;
  }
}

@media (max-width: 1200px) {
  .sidebar {
    width: 224px;
    padding: 28px 16px 0;
  }

  .brand {
    gap: 8px;
    font-size: 22px;
  }

  .brand small {
    letter-spacing: 1px;
    font-size: 7px;
  }

  .main-shell {
    margin-left: 224px;
  }

  .main-content {
    padding: 28px 25px;
  }

  .topbar {
    padding: 0 25px;
  }

  .page-heading h1 {
    font-size: 26px;
  }

  .page-heading > .button {
    display: none;
  }

  .welcome-banner {
    padding: 27px;
  }

  .welcome-banner h2 {
    font-size: 26px;
  }

  .banner-mark {
    width: 225px;
    margin-right: -10px;
  }

  .orbit-three {
    width: 285px;
  }

  .label-two {
    right: -8px;
  }

  .label-one {
    left: 0;
  }

  .label-three {
    left: 30px;
  }

  .direction-card {
    padding: 18px 18px 0;
  }

  .direction-card h3 {
    font-size: 16px;
  }

  .direction-card p {
    font-size: 12px;
  }

  .stats-grid {
    gap: 11px;
  }

  .stat {
    padding: 17px 14px;
  }

  .stat .between {
    font-size: 11px;
  }

  .stat .between svg {
    width: 16px;
  }

  .stat > small {
    font-size: 9px;
  }

  .stat > strong {
    font-size: 26px;
  }

  .dashboard-bottom {
    grid-template-columns: 1.5fr 1fr;
  }

  .workspace-grid {
    grid-template-columns: 190px 1fr;
  }

  .terminal-panel {
    grid-column: span 2;
    min-height: 350px;
  }

  .terminal-panel iframe {
    min-height: 500px;
  }

  .auth-story, .auth-form-side {
    padding: 40px;
  }

  .auth-story h1 {
    font-size: 47px;
  }
}

@media (max-width: 950px) {
  .direction-grid {
    gap: 12px;
  }

  .main-content {
    padding: 25px 20px;
  }

  .banner-mark {
    display: none;
  }

  .welcome-banner {
    min-height: 260px;
  }

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

  .stat .between {
    font-size: 13px;
  }

  .stat > small {
    font-size: 11px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .direction-card {
    grid-template-columns: 55px 1fr;
    column-gap: 14px;
    padding: 20px;
    display: grid;
  }

  .direction-card > .between {
    grid-row: span 3;
    align-items: flex-start;
  }

  .direction-number {
    display: none;
  }

  .direction-card h3 {
    margin: 0 0 5px;
    font-size: 18px;
  }

  .direction-card p {
    max-width: none;
    margin: 0 0 10px;
  }

  .topic-tags {
    min-height: 0;
    margin: 0;
  }

  .direction-footer {
    grid-column: 2;
    margin-top: 15px;
    padding-bottom: 0;
  }

  .dashboard-bottom {
    grid-template-columns: 1fr;
  }

  .learning-card p {
    max-width: 450px;
  }

  .learning-note {
    margin-top: 20px;
  }

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

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .start-panel {
    position: static;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .environment-label {
    display: none;
  }

  .auth-story h1 {
    font-size: 40px;
  }

  .auth-story, .auth-form-side {
    padding: 32px;
  }

  .workspace-grid {
    grid-template-columns: 170px 1fr;
  }

  .result-hero {
    gap: 25px;
    padding: 25px;
  }
}

@media (max-width: 720px) {
  .sidebar {
    visibility: hidden;
    width: 254px;
    transition: transform .2s;
    transform: translateX(-100%);
  }

  .sidebar.is-open {
    visibility: visible;
    transform: translateX(0);
  }

  .main-shell {
    margin-left: 0;
  }

  .mobile-toggle {
    padding: 5px;
    display: inline-flex;
  }

  .mobile-close {
    color: #a9c8c0;
    background: none;
    padding: 3px;
    display: block;
  }

  .sidebar-top {
    justify-content: space-between;
    align-items: center;
    display: flex;
  }

  .nav-overlay {
    z-index: 25;
    background: #0f252b80;
    display: block;
    position: fixed;
    inset: 0;
  }

  .topbar {
    height: 63px;
    padding: 0 18px;
  }

  .topbar > .inline {
    gap: 9px;
  }

  .main-content {
    padding: 25px 18px;
  }

  .page-heading {
    margin-bottom: 23px;
  }

  .page-heading h1 {
    font-size: 25px;
  }

  .page-heading p {
    font-size: 13px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .welcome-banner {
    min-height: 270px;
    padding: 25px;
  }

  .welcome-banner h2 {
    font-size: 25px;
  }

  .welcome-banner p {
    font-size: 12px;
  }

  .desktop-break {
    display: none;
  }

  .stats-grid {
    gap: 10px;
    margin: 17px 0 26px;
  }

  .stat > strong {
    font-size: 28px;
  }

  .stat .between {
    font-size: 11px;
  }

  .stat > small {
    font-size: 10px;
  }

  .section-title h2 {
    max-width: 240px;
    font-size: 17px;
  }

  .section-title > a {
    font-size: 11px;
  }

  .panel {
    padding: 21px;
  }

  .table-wrap {
    padding: 0;
  }

  .footer {
    margin: 0 18px;
    font-size: 10px;
  }

  .direction-grid {
    gap: 13px;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .catalog-subline {
    flex-direction: column;
    align-items: flex-start;
  }

  .tabs button {
    padding: 7px 11px;
    font-size: 12px;
  }

  .catalog-filters {
    gap: 7px;
  }

  .catalog-filters select {
    max-width: 180px;
  }

  .error-state {
    flex-wrap: wrap;
    padding: 18px;
  }

  .error-state > .button {
    margin-left: 34px;
  }

  .detail-grid {
    gap: 17px;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-story {
    padding: 26px;
  }

  .auth-story > div:not(.brand), .auth-story > small {
    display: none;
  }

  .auth-story {
    gap: 0;
  }

  .auth-story .brand {
    font-size: 25px;
  }

  .auth-form-side {
    min-height: calc(100vh - 94px);
    padding: 27px;
  }

  .workspace-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .workspace-heading h1 {
    font-size: 23px;
  }

  .timer {
    font-size: 19px;
  }

  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .task-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .task-sidebar nav {
    display: flex;
    overflow: auto;
  }

  .task-nav-item {
    border-bottom: 0;
    width: auto;
    min-width: 160px;
  }

  .task-nav-item.selected {
    border-bottom: 3px solid #4ea68c;
    border-left: 0;
    padding-left: 16px;
  }

  .task-sidebar-heading {
    padding: 16px;
  }

  .task-sidebar-heading h2 {
    margin-bottom: 9px;
  }

  .terminal-panel {
    grid-column: 1;
  }

  .task-content {
    padding: 23px;
  }

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

  .result-hero {
    text-align: center;
    flex-direction: column;
  }

  .result-hero h2 {
    font-size: 23px;
  }

  .result-hero p br {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .span-two {
    grid-column: 1;
  }

  .modal {
    padding: 22px;
  }

  .modal-actions, .group-heading {
    flex-wrap: wrap;
  }

  .group-heading > span {
    margin-left: 0;
  }

  .active-session {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-panel .details {
    width: 100%;
    margin-left: 0;
  }

  .pagination {
    gap: 10px;
  }

  .pagination > .inline {
    gap: 7px;
  }

  .filter-input {
    flex: 1;
    max-width: none;
  }

  .catalog-toolbar > .button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

:root {
  --bg-soft: #eef0f3;
  --surface-2: #f8f9fb;
  --surface-3: #eef1f5;
  --line-2: #d0d5dd;
  --text-2: #47526a;
  --brand: #2563eb;
  --brand-hi: #1d4ed8;
  --brand-soft: #2563eb14;
  --violet: #2563eb;
  --amber: #b45309;
  --amber-hi: #92400e;
  --amber-soft: #b453091a;
  --ok: #15803d;
  --ok-soft: #15803d1a;
  --warn: #b45309;
  --danger: #dc2626;
  --danger-soft: #dc262614;
  --grad: #2563eb;
  --grad-soft: #2563eb14;
  --radius-sm: 6px;
  --radius-xs: 5px;
  --shadow-1: 0 1px 2px #1018280d;
  --shadow-2: 0 4px 12px #10182814;
  --glow-brand: 0 0 0 1px var(--line-2);
  --font-body: var(--font-inter), "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: var(--font-inter), "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: var(--font-jbmono), "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

html[data-bg="dark"] {
  --bg: #04070f;
  --bg-soft: #070c17;
  --surface: #0b1322;
  --surface-2: #101b30;
  --surface-3: #172642;
  --line: #7da5ff21;
  --line-2: #7da5ff3d;
  --text: #eaf1fd;
  --text-2: #a9bad6;
  --muted: #7589ab;
  --brand: #38bdf8;
  --brand-hi: #7dd3fc;
  --brand-soft: #38bdf824;
  --violet: #818cf8;
  --amber: #f5a524;
  --amber-hi: #fbbf24;
  --amber-soft: #f5a5241f;
  --ok: #34d399;
  --ok-soft: #34d3991f;
  --warn: #fbbf24;
  --danger: #fb7185;
  --danger-soft: #fb71851f;
  --grad: #38bdf8;
  --grad-soft: #38bdf824;
  --shadow-1: 0 1px 2px #00000080;
  --shadow-2: 0 6px 18px #00000080;
  --glow-brand: 0 0 0 1px var(--line-2);
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

html[data-bg="dark"] ::selection {
  color: #fff;
  background: #4c8dff59;
}

.small {
  font-size: 12.5px;
}

.sr-only {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.spin-slow {
  animation: none;
}

.page-transition {
  min-width: 0;
}

.page-heading .sub {
  color: var(--muted);
  max-width: 760px;
  margin-top: 4px;
  font-size: 14px;
}

.tr-word, .tr-mask, .tr-cell, tr-cell {
  display: inline;
}

.tr-sub {
  display: block;
}

.tr-key, .tr-step, .tr-block {
  opacity: 1;
}

.topnav {
  z-index: 50;
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  background: #ffffffdb;
  position: sticky;
  top: 0;
}

html[data-bg="dark"] .topnav {
  background: #161b22d1;
}

.topnav-inner {
  align-items: center;
  gap: 8px;
  max-width: 1288px;
  height: 56px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
}

.topnav-links {
  align-items: center;
  gap: 2px;
  min-width: 0;
  margin-left: 16px;
  display: flex;
  overflow: hidden;
}

.topnav-link {
  color: var(--text-2);
  white-space: nowrap;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background .12s, color .12s;
}

.topnav-link:hover {
  color: var(--text);
  background: var(--surface-2);
}

.topnav-link.active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

html[data-bg="dark"] .topnav-link.active {
  color: var(--brand-hi);
}

.topnav-more {
  position: relative;
}

.more-btn {
  align-items: center;
  gap: 5px;
  display: inline-flex;
}

.more-chev {
  transition: transform .15s;
}

.more-chev.up {
  transform: rotate(180deg);
}

.more-menu {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 232px;
  box-shadow: var(--shadow-2);
  z-index: 60;
  padding: 5px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
}

.more-item {
  color: var(--text-2);
  border-radius: 6px;
  padding: 8px 11px;
  font-size: 13.5px;
  display: block;
}

.more-item:hover {
  background: var(--surface-2);
  color: var(--text);
}

.more-item.active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

html[data-bg="dark"] .more-item.active {
  color: var(--brand-hi);
}

.more-sep {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 11px 4px;
  font-size: 11px;
  font-weight: 600;
}

.topnav-actions {
  flex: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  display: flex;
}

.page-crumb {
  white-space: nowrap;
  margin-right: 4px;
  font-size: 12.5px;
}

.user-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  padding: 3px 6px 3px 3px;
  transition: border-color .12s;
  display: inline-flex;
}

.user-chip:hover {
  border-color: var(--line-2);
}

.user-chip-name {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 150px;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}

.user-logout {
  color: var(--muted);
  cursor: pointer;
  border-radius: 999px;
  place-items: center;
  width: 26px;
  height: 26px;
  transition: background .12s, color .12s;
  display: grid;
}

.user-logout:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

.side-drawer {
  display: none;
}

.drawer-top {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  display: flex;
}

.drawer-nav {
  flex: 1;
  padding: 8px 10px 14px;
  overflow-y: auto;
}

.drawer-bottom {
  border-top: 1px solid var(--line);
  padding: 12px;
}

.brand-text {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  color: var(--text);
  white-space: nowrap;
  font-size: 16.5px;
  font-weight: 700;
}

.footer-inner {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
}

.footer-legal {
  color: var(--muted);
  flex-direction: column;
  gap: 3px;
  font-size: 12.5px;
  line-height: 1.6;
  display: flex;
}

.footer-partners {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.partner-mark {
  border: 1px solid var(--line);
  height: 30px;
  font-family: var(--font-mono);
  color: var(--muted);
  border-radius: 6px;
  align-items: center;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
}

.partner-mark-text {
  border: 1px solid var(--line);
  height: 30px;
  font-family: var(--font-mono);
  color: var(--muted);
  border-radius: 6px;
  align-items: center;
  padding: 0 12px;
  font-size: 11px;
  display: inline-flex;
}

.button.small {
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
}

.button.lg {
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 14.5px;
}

.btn-primary, a.btn-primary {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background .12s;
  display: inline-flex;
}

.btn-primary:hover, a.btn-primary:hover {
  background: var(--brand-hi);
}

.icon-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  width: 32px;
  height: 32px;
  color: var(--muted);
  border-radius: 7px;
  place-items: center;
  transition: all .12s;
  display: inline-grid;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--line-2);
}

.linklike {
  cursor: pointer;
  color: var(--brand);
  font-size: inherit;
  background: none;
  border: none;
  padding: 0;
  font-weight: 500;
}

.linklike:hover {
  text-decoration: underline;
}

.form, .task-form {
  flex-direction: column;
  gap: 13px;
  display: flex;
}

.field-label {
  color: var(--text-2);
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
}

.small-input {
  border-radius: 6px;
  width: auto;
  min-width: 90px;
  padding: 6px 10px;
  font-size: 12.5px;
}

.form-error-bar {
  width: min(1240px, 100% - 48px);
  margin: 10px auto 0;
}

.alert {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  border-radius: 7px;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 13px;
  font-size: 13px;
  display: flex;
}

.panel-title {
  color: var(--text);
  font-size: 15.5px;
  font-weight: 600;
}

.panel-sub {
  color: var(--muted);
  margin-top: 2px;
  font-size: 12.5px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color .12s;
}

.card:hover {
  border-color: var(--line-2);
}

a.card {
  cursor: pointer;
}

.card h3 {
  color: var(--text);
  margin-bottom: 5px;
}

.card p {
  font-size: 13px;
}

.stats-grid, .stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  display: grid;
}

.stat-card, .stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.stat-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.stat-value {
  font-family: var(--font-display);
  color: var(--text);
  margin-top: 3px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.stat-value .unit {
  color: var(--muted);
  margin-left: 3px;
  font-size: 13px;
  font-weight: 500;
}

.stat-sub {
  color: var(--muted);
  margin-top: 3px;
  font-size: 12px;
}

table.table, table.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.table th, .data-table th {
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  background: var(--surface-2);
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 600;
}

.table td, .data-table td {
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  vertical-align: middle;
  padding: 11px 14px;
}

.table tr:last-child td, .data-table tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover, .data-table tbody tr:hover {
  background: var(--surface-2);
}

.table td b, .table td strong {
  color: var(--text);
  font-weight: 600;
}

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

.db-table-chip {
  font-family: var(--font-mono);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 11px;
}

.badge-muted {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--muted);
}

.badge-warn {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: #b453094d;
}

.badge.ok {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: #15803d4d;
}

.chip {
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 500;
  transition: all .12s;
  display: inline-flex;
}

.chip:hover {
  border-color: var(--muted);
  color: var(--text);
}

.chip.active, .chip[aria-pressed="true"] {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 600;
}

html[data-bg="dark"] .chip.active {
  color: var(--brand-hi);
}

.chip-select {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.level-chip {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  border-radius: 5px;
  align-items: center;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 500;
  display: inline-flex;
}

.modal-backdrop {
  z-index: 100;
  background: #10182873;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}

.empty-state, .error-state {
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  color: var(--muted);
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 22px;
  display: flex;
}

.empty-state h3, .error-state h3 {
  color: var(--text-2);
}

.dot {
  background: var(--brand);
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 6px;
}

.auth-hero {
  background: var(--surface);
  border-right: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  display: flex;
}

html[data-bg="dark"] .auth-hero {
  color: var(--text);
}

.hero-bg, .hero-aurora, .hero-aurora-1, .hero-aurora-2, .hero-radar, .hero-scan, .hero-grid {
  display: none;
}

.hero-inner {
  max-width: 560px;
}

.hero-top {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  display: flex;
}

.hero-status {
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  font-size: 12px;
  display: inline-flex;
}

.hero-status .blip {
  background: var(--ok);
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.hero-eyebrow {
  margin-bottom: 10px;
}

.hero-title {
  letter-spacing: -.015em;
  color: var(--text);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.hero-title em {
  color: var(--brand);
  font-style: normal;
}

html[data-bg="dark"] .hero-title em {
  color: var(--brand-hi);
}

.hero-title .grad {
  color: var(--brand);
  font-style: normal;
}

html[data-bg="dark"] .hero-title .grad {
  color: var(--brand-hi);
}

.hero-mission {
  color: var(--text-2);
  max-width: 500px;
  margin-top: 14px;
  font-size: 14.5px;
}

.hero-cta {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  display: flex;
}

.hero-enter {
  padding: 10px 22px;
}

.hero-start {
  padding: 10px 18px;
}

.hero-enter-icon {
  place-items: center;
  display: grid;
}

.hero-boot {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #050c10c7;
  border: 1px solid #75e4c340;
  border-radius: 12px;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-top: 30px;
  padding: 14px 18px;
  display: flex;
  box-shadow: 0 12px 30px #020a0e59;
}

.hero-boot span {
  font-family: var(--font-mono);
  color: #8fd4bd;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: flex;
}

.hero-boot span:before {
  content: "•";
  color: var(--mint, #75e4c3);
  font-size: 9px;
}

.hero-boot span:last-child:after {
  content: "▌";
  color: var(--mint, #75e4c3);
  margin-left: 3px;
  animation: 1.1s step-end infinite hero-caret;
}

@keyframes hero-caret {
  50% {
    opacity: 0;
  }
}

.hero-foot {
  color: var(--muted);
  margin-top: 30px;
  font-size: 12px;
  display: block;
}

.hero-rise {
  opacity: 1;
  animation: none;
  transform: none;
}

.hero-body {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.hero-stats {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding: 14px 4px 0;
  display: flex;
}

.hero-stats > div {
  text-align: left;
  flex: 1;
  padding: 0 16px 0 0;
}

.hero-stats > div + div {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.hero-stats b {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
  display: block;
}

.hero-stats small {
  color: var(--muted);
  font-size: 12px;
}

.auth-form .sub {
  color: var(--muted);
  margin-top: -6px;
  font-size: 13px;
}

.auth-divider {
  color: var(--muted);
  align-items: center;
  gap: 10px;
  font-size: 12px;
  display: flex;
}

.auth-divider:before, .auth-divider:after {
  content: "";
  background: var(--line);
  flex: 1;
  height: 1px;
}

.google-btn {
  background: var(--surface);
  border: 1px solid var(--line-2);
  width: 100%;
  color: var(--text-2);
}

.google-btn:hover {
  border-color: var(--muted);
  color: var(--text);
}

.google-btn.pending {
  opacity: .65;
}

.google-logo {
  flex: none;
}

.google-notice {
  color: var(--muted);
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  display: flex;
}

.google-notice-dot {
  background: var(--warn);
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
}

.google-soon-badge {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid #b4530940;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
}

.ob-overlay {
  z-index: 120;
  background: #10182880;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}

.ob-card {
  background: var(--surface);
  border: 1px solid var(--line);
  width: min(600px, 100%);
  box-shadow: var(--shadow-2);
  border-radius: 12px;
  padding: 28px;
}

.ob-eyebrow {
  margin-bottom: 6px;
}

.ob-title {
  margin-bottom: 5px;
  font-size: 21px;
}

.ob-sub {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 13.5px;
}

.ob-roles {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
  display: grid;
}

.ob-role {
  border: 1px solid var(--line-2);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  border-radius: 9px;
  flex-direction: column;
  gap: 5px;
  padding: 14px 13px;
  transition: border-color .12s, background .12s;
  display: flex;
  position: relative;
}

.ob-role:hover {
  border-color: var(--muted);
}

.ob-role.active {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.ob-role b {
  color: var(--text);
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  display: flex;
}

.ob-role small {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.ob-role-check {
  background: var(--brand);
  color: #fff;
  opacity: 0;
  border-radius: 6px;
  place-items: center;
  width: 18px;
  height: 18px;
  display: grid;
  position: absolute;
  top: 9px;
  right: 9px;
}

.ob-role.active .ob-role-check {
  opacity: 1;
}

.ob-err {
  color: var(--danger);
  font-size: 13px;
}

.ob-submit {
  width: 100%;
  margin-top: 4px;
}

.ob-done {
  text-align: center;
  padding: 22px 8px;
}

.ob-done-icon {
  background: var(--ok-soft);
  width: 54px;
  height: 54px;
  color: var(--ok);
  border: 1px solid #15803d59;
  border-radius: 50%;
  place-items: center;
  margin: 0 auto 14px;
  display: grid;
}

.ob-done h2 {
  margin-bottom: 7px;
}

.shield-path {
  display: none;
}

.features-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  display: grid;
}

.feature-card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  flex-direction: column;
  gap: 7px;
  padding: 16px;
  transition: border-color .12s;
  display: flex;
}

.feature-card:hover {
  border-color: var(--line-2);
}

.feature-icon {
  background: var(--brand-soft);
  width: 36px;
  height: 36px;
  color: var(--brand);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

html[data-bg="dark"] .feature-icon {
  color: var(--brand-hi);
}

.feature-card h3 {
  color: var(--text);
  font-size: 14.5px;
}

.feature-card p {
  color: var(--muted);
  flex: 1;
  font-size: 12.5px;
}

.feature-arrow {
  color: var(--muted);
  align-self: flex-end;
}

.feature-card:hover .feature-arrow {
  color: var(--brand);
}

.cyberscore-panel {
  position: relative;
}

.cyberscore-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.cyberscore-total {
  text-align: right;
}

.cyberscore-value {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.cyberscore-max {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.cyberscore-level {
  justify-content: flex-end;
  margin-top: 7px;
}

.cyberscore-dims {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 18px;
  display: grid;
}

.cyberscore-dim {
  min-width: 0;
}

.cyberscore-dim-top {
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  display: flex;
}

.cyberscore-dim-name {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
}

.cyberscore-dim-val {
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
}

html[data-bg="dark"] .cyberscore-dim-val {
  color: var(--brand-hi);
}

.cyberscore-dim-val.none {
  color: var(--muted) !important;
}

.cs-bar {
  background: var(--surface-3);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}

.cs-bar-fill {
  background: var(--brand);
  border-radius: 4px;
  height: 100%;
  transition: width .4s;
}

.cyberscore-recs {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 9px;
  margin-top: 16px;
  display: grid;
}

.cyberscore-rec {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  border-radius: 8px;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  font-size: 12.5px;
  display: flex;
}

.tick {
  position: absolute;
  inset: 0;
}

.lab-queue {
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  font-size: 13px;
  display: flex;
}

.lab-queue.full {
  color: var(--amber);
  border-color: #b4530966;
}

.lab-queue-dot {
  background: var(--ok);
  border-radius: 50%;
  flex: none;
  width: 7px;
  height: 7px;
}

.lab-queue.full .lab-queue-dot {
  background: var(--warn);
}

.lab-paused-hint {
  color: var(--muted);
  font-size: 12px;
}

.direction-soon {
  opacity: .7;
}

.direction-soon-badge {
  position: absolute;
  top: 13px;
  right: 13px;
}

.direction-soon h3 {
  color: var(--text-2);
}

.difficulty.high {
  color: var(--amber);
}

.course-list {
  flex-direction: column;
  gap: 13px;
  display: flex;
}

.course-card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  transition: border-color .12s;
  display: grid;
}

.course-card:hover {
  border-color: var(--line-2);
}

.course-icon {
  background: var(--brand-soft);
  width: 46px;
  height: 46px;
  color: var(--brand);
  border-radius: 10px;
  place-items: center;
  display: grid;
}

html[data-bg="dark"] .course-icon {
  color: var(--brand-hi);
}

.course-card-head {
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  display: flex;
}

.course-card h3 {
  color: var(--text);
  font-size: 15.5px;
}

.course-card p {
  color: var(--muted);
  font-size: 13px;
}

.course-meta {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 3px;
  display: flex;
}

.course-detail {
  padding: 24px;
}

.module-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 11px;
  overflow: hidden;
}

.module-title {
  color: var(--text);
  cursor: pointer;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
}

.module-title:hover {
  background: var(--surface-2);
}

.module-block .module-body {
  padding: 3px 16px 14px;
}

.cover {
  background: var(--surface-2);
  border: 1px solid var(--line);
  height: 110px;
  color: var(--muted);
  border-radius: 9px;
  place-items: center;
  margin-bottom: 14px;
  display: grid;
}

.lesson-rows {
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 18px;
  display: grid;
}

.lesson-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.lesson-title {
  color: var(--text);
  margin: 4px 0 9px;
  font-size: 21px;
  font-weight: 700;
}

.lesson-xp {
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid #b453094d;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.lesson-theory {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.75;
}

.lesson-theory p + p {
  margin-top: 11px;
}

.lesson-theory pre {
  margin-top: 13px;
}

.lesson-video {
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: #0b0f16;
  border-radius: 9px;
  margin: 16px 0;
  position: relative;
  overflow: hidden;
}

.video-frame {
  width: 100%;
  height: 100%;
}

.video-intro {
  color: #e6edf3;
  background: #0b0f16b3;
  place-items: center;
  font-size: 13px;
  display: grid;
  position: absolute;
  inset: 0;
}

.video-note {
  color: var(--muted);
  margin-top: 7px;
  font-size: 12px;
}

.lesson-play {
  width: 56px;
  height: 56px;
  margin: auto;
  position: absolute;
  inset: 0;
}

.lesson-lab {
  margin-top: 18px;
}

.lesson-done {
  background: var(--ok-soft);
  color: var(--ok);
  border: 1px solid #15803d4d;
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
}

.task-nav-item.done {
  color: var(--muted);
  text-decoration: line-through;
}

.step {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
}

.step-head {
  color: var(--text);
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
}

.step-num {
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}

.step-body {
  color: var(--text-2);
  font-size: 13px;
}

.worked-example {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 14px 0;
  padding: 16px;
}

.we-label {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 600;
}

.we-row {
  gap: 9px;
  margin-bottom: 7px;
  font-size: 13px;
  display: flex;
}

.we-body {
  color: var(--text-2);
}

.we-note {
  color: var(--muted);
  margin-top: 9px;
  font-size: 12px;
}

.we-tools {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
  display: flex;
}

.we-tool {
  font-family: var(--font-mono);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 11px;
}

.we-list {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.we-list li {
  color: var(--text-2);
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.we-list li:before {
  content: "▸";
  color: var(--muted);
}

.quiz-block {
  margin: 15px 0;
}

.quiz-q {
  color: var(--text);
  margin-bottom: 11px;
  font-size: 14px;
  font-weight: 600;
}

.quiz-opt {
  border: 1px solid var(--line-2);
  background: var(--surface);
  width: 100%;
  color: var(--text-2);
  text-align: left;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  padding: 11px 14px;
  font-size: 13px;
  transition: border-color .12s, background .12s;
  display: flex;
}

.quiz-opt:hover {
  border-color: var(--muted);
  color: var(--text);
}

.quiz-opt.correct {
  border-color: var(--ok);
  background: var(--ok-soft);
  color: var(--ok);
}

.quiz-opt.wrong {
  border-color: var(--danger);
  background: var(--danger-soft);
  color: var(--danger);
}

.quiz-opt .opt-letter {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}

.lesson-pre, pre.lesson-pre, pre {
  color: #c9d1d9;
  background: #0d1117;
  border: 1px solid #2d333c;
  border-radius: 8px;
  padding: 13px 15px;
  font-size: 12.5px;
  line-height: 1.65;
  overflow-x: auto;
}

.term-row {
  color: #9fb6ff;
  padding: 2px 13px;
  font-size: 12.5px;
  line-height: 1.7;
}

.term-prompt {
  color: #e3a008;
}

.term-input-row {
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  display: flex;
}

.term-input-row input {
  box-shadow: none;
  color: #c9d1d9;
  background: none;
  border: none;
  padding: 3px 0;
}

.term-pre {
  color: #8b949e;
  max-height: 210px;
  padding: 11px 13px;
  font-size: 12px;
  overflow: auto;
}

.terminal-tabs {
  gap: 6px;
  padding: 9px 11px 0;
  display: flex;
}

.terminal-tabs .chip {
  border-radius: 7px 7px 0 0;
}

.library-groups {
  flex-direction: column;
  gap: 24px;
  display: flex;
}

.library-group-title {
  border-bottom: 1px solid var(--line);
  color: var(--text);
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  padding-bottom: 9px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
}

.library-items {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 11px;
  display: grid;
}

.library-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  transition: border-color .12s;
  display: flex;
}

.library-item:hover {
  border-color: var(--line-2);
}

.library-item-title {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
}

.library-item-link {
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
}

.library-item-link:hover {
  text-decoration: underline;
}

.library-item p, .code-desc {
  color: var(--muted);
  flex: 1;
  font-size: 12px;
}

.code-lib-sub {
  margin: -4px 0 16px;
}

.code-cats {
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
  display: flex;
}

.code-lib {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.code-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  display: grid;
}

.code-row:hover {
  border-color: var(--line-2);
}

.code-cmd {
  font-family: var(--font-mono);
  color: #c9d1d9;
  white-space: pre;
  background: #0d1117;
  border: 1px solid #2d333c;
  border-radius: 7px;
  padding: 9px 13px;
  font-size: 12px;
  display: block;
  overflow-x: auto;
}

.code-row-right {
  align-items: center;
  gap: 9px;
  display: flex;
}

.code-copy {
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 500;
  transition: all .12s;
  display: inline-flex;
}

.code-copy:hover {
  color: var(--text);
  border-color: var(--muted);
}

.code-copy.copied {
  color: var(--ok);
  border-color: #15803d66;
}

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

.code-search {
  width: 100%;
  margin-bottom: 15px;
}

.code-tabs {
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 13px;
  display: flex;
}

.code-tab {
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 11.5px;
  transition: all .12s;
}

.code-tab.active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 600;
}

html[data-bg="dark"] .code-tab.active {
  color: var(--brand-hi);
}

.code-tab-count {
  opacity: .6;
  margin-left: 4px;
}

.code-stat {
  color: var(--muted);
  margin-bottom: 13px;
  font-size: 12px;
}

.code-controls {
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  display: flex;
}

.cheat-pre {
  font-family: var(--font-mono);
  color: #9fb6ff;
  background: #0d1117;
  border: 1px solid #2d333c;
  border-radius: 9px;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.7;
  overflow-x: auto;
}

.rank-num {
  background: var(--surface-2);
  border: 1px solid var(--line);
  width: 28px;
  height: 28px;
  color: var(--text-2);
  border-radius: 7px;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  display: inline-grid;
}

.rank-medal {
  border-radius: 7px;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  display: inline-grid;
}

.rank-medal.p1 {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid #b4530966;
}

.rank-medal.p2 {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--text-2);
}

.rank-medal.p3 {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--muted);
}

.blue-t {
  color: var(--brand);
}

html[data-bg="dark"] .blue-t {
  color: var(--brand-hi);
}

.red-t {
  color: var(--danger);
}

.flag-note {
  color: var(--muted);
  font-size: 12px;
}

.flag-actions {
  gap: 7px;
  display: flex;
}

.account-hero {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 22px;
  display: flex;
}

.account-hero .avatar {
  border-radius: 12px;
  width: 56px;
  height: 56px;
  font-size: 22px;
}

.account-hero-id {
  min-width: 0;
}

.account-hero-id h2 {
  color: var(--text);
  font-size: 19px;
}

.account-hero-meta {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 12.5px;
  display: flex;
}

.account-hero-stats {
  gap: 24px;
  margin-left: auto;
  display: flex;
}

.account-stats {
  flex-direction: column;
  align-items: flex-end;
  display: flex;
}

.account-stats-label {
  color: var(--muted);
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}

.account-stats b {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
}

.account-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 14px;
  display: grid;
}

.account-card-title {
  color: var(--text);
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
}

.account-card-title svg {
  color: var(--muted);
}

.account-active {
  flex-direction: column;
  gap: 9px;
  display: flex;
}

.account-dir {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.account-history {
  margin-top: 3px;
}

.settings-row {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  display: flex;
}

.settings-row:last-child {
  border-bottom: none;
}

.settings-row b {
  color: var(--text);
  font-size: 13.5px;
  display: block;
}

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

.settings-layout {
  max-width: 880px;
}

.settings-block {
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  display: flex;
}

.settings-cols {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
  margin-top: 14px;
  display: grid;
}

.settings-hint {
  color: var(--muted);
  margin-top: 10px;
  font-size: 12px;
}

.settings-about {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.bg-pick-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 11px;
  display: grid;
}

.bg-pick-card {
  border: 1px solid var(--line-2);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  border-radius: 9px;
  padding: 11px;
  transition: border-color .12s, box-shadow .12s;
  position: relative;
}

.bg-pick-card:hover {
  border-color: var(--muted);
}

.bg-pick-card.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.bg-prev {
  border: 1px solid var(--line);
  border-radius: 7px;
  height: 64px;
  margin-bottom: 9px;
  display: block;
  position: relative;
  overflow: hidden;
}

.bg-prev-light {
  background: linear-gradient(#fff 0%, #f0f2f6 100%);
}

.bg-prev-dark {
  background: linear-gradient(#161b22 0%, #0d1117 100%);
}

.bg-pick-name {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  display: block;
}

.bg-pick-name em {
  color: var(--amber);
  margin-left: 6px;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.bg-pick-desc {
  color: var(--muted);
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.4;
  display: block;
}

.bg-pick-check {
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  place-items: center;
  width: 20px;
  height: 20px;
  display: grid;
  position: absolute;
  top: 7px;
  right: 7px;
}

.bg-pick-default {
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 600;
  position: absolute;
  top: 7px;
  left: 7px;
}

.workspace-lab-actions {
  flex-wrap: wrap;
  gap: 9px;
  display: flex;
}

.os-picker {
  align-items: center;
  gap: 9px;
  display: flex;
}

.os-picker select {
  width: auto;
  min-width: 140px;
}

.os-saved {
  color: var(--ok);
  align-items: center;
  gap: 5px;
  font-size: 12px;
  display: inline-flex;
}

.watch-grid {
  gap: 13px;
  display: grid;
}

.watch-pane {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.watch-head {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
}

.watch-dot {
  background: var(--muted);
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.watch-dot.on {
  background: var(--ok);
}

.watch-frame {
  background: #0b0f16;
  border: none;
  width: 100%;
  min-height: 400px;
  display: block;
}

.watch-empty {
  min-height: 400px;
  color: var(--muted);
  place-items: center;
  font-size: 13px;
  display: grid;
}

.ttl-warning {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid #b453094d;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  font-size: 12.5px;
  display: flex;
}

.lab-topology {
  flex-direction: column;
  gap: 9px;
  display: flex;
}

.topology-nodes {
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  display: flex;
}

.topology-node {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 88px;
  padding: 11px 14px;
  display: flex;
}

.topology-icon {
  background: var(--brand-soft);
  width: 30px;
  height: 30px;
  color: var(--brand);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

html[data-bg="dark"] .topology-icon {
  color: var(--brand-hi);
}

.topology-ip {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 10.5px;
}

.topology-link {
  background: var(--line-2);
  width: 22px;
  height: 1px;
  position: relative;
}

.topology-link:after {
  display: none;
}

.lab-notes {
  margin-top: 5px;
}

.range-terminal {
  border-radius: var(--radius);
  background: #0d1117;
  border: 1px solid #2d333c;
  overflow: hidden;
}

.range-terminal-header {
  font-family: var(--font-mono);
  color: #77808c;
  background: #161b22;
  border-bottom: 1px solid #2d333c;
  justify-content: space-between;
  align-items: center;
  gap: 11px;
  padding: 11px 15px;
  font-size: 11.5px;
  display: flex;
}

.range-terminal-body {
  font-family: var(--font-mono);
  color: #9fb6ff;
  min-height: 240px;
  padding: 16px;
  font-size: 12.5px;
  line-height: 1.8;
}

.arena-card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  flex-direction: column;
  gap: 11px;
  padding: 19px;
  transition: border-color .12s;
  display: flex;
  position: relative;
}

.arena-card:hover {
  border-color: var(--line-2);
}

.arena-card h3 {
  color: var(--text);
  font-size: 15.5px;
}

.arena-card p {
  color: var(--muted);
  flex: 1;
  font-size: 13px;
}

.arena-teams {
  align-items: center;
  gap: 9px;
  display: flex;
}

.arena-vs {
  letter-spacing: .06em;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
}

.arena-mission {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.arena-goals {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.arena-goal-block {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  border-radius: 8px;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  font-size: 12.5px;
  display: flex;
}

.arena-frame {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.arena-timer {
  color: var(--amber);
  font-size: 18px;
  font-weight: 700;
}

.arena-staff {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.arena-preparing {
  text-align: center;
  color: var(--muted);
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 36px;
  display: flex;
}

.arena-workspace {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.arena-submit {
  width: 100%;
  margin-top: 11px;
}

.arena-closed {
  text-align: center;
  border: 1px dashed var(--line-2);
  color: var(--muted);
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 54px 22px;
  display: flex;
}

.arena-closed-icon {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  width: 54px;
  height: 54px;
  color: var(--muted);
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.arena-closed-title {
  color: var(--text-2);
  font-size: 19px;
}

.arena-closed-rows {
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  display: flex;
}

.arena-closed-scan {
  display: none;
}

.arena-dark {
  color: #e6edf3;
  background: #0d1117;
}

.hackentry {
  background: #0d1117;
  border: 1px solid #2d333c;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 36px 28px;
  display: flex;
  position: relative;
}

.hackentry-bg, .hackentry-vignette, .hackentry-grid, .hackentry-scan {
  display: none;
}

.hackentry-inner {
  z-index: 2;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  position: relative;
}

.hackentry-badge {
  letter-spacing: .1em;
  color: #9fb6ff;
  background: #4c8dff14;
  border: 1px solid #4c8dff66;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.hackentry-title {
  letter-spacing: -.02em;
  color: #f0f4fa;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
}

.hackentry-title .grad {
  color: #4c8dff;
}

.hackentry-sub {
  color: #8b95a5;
  max-width: 540px;
  font-size: 14.5px;
}

.hackentry-sec {
  color: #6e7887;
  font-size: 12.5px;
}

.hackentry-teams {
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  display: flex;
}

.hackentry-vs {
  width: 42px;
  height: 42px;
  font-family: var(--font-mono);
  color: #e3a008;
  background: #e3a00814;
  border: 1px solid #e3a00866;
  border-radius: 50%;
  place-items: center;
  font-weight: 700;
  display: grid;
}

.hackentry-vs .team-name {
  color: #c7d2fe;
}

.hackentry-note {
  color: #6e7887;
  margin-top: 4px;
  font-size: 12px;
}

.hackentry-boot {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.hackentry-boot-line {
  font-family: var(--font-mono);
  color: #77808c;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  display: flex;
}

.hackentry-boot-line:before {
  content: "▸";
  color: #4c8dff;
}

.hackentry-enter {
  margin-top: 8px;
  padding: 13px 30px;
}

.hackentry-top {
  justify-content: space-between;
  width: 100%;
  display: flex;
}

.hackentry-top .muted {
  font-size: 11px;
}

.mission-side {
  flex-direction: column;
  gap: 11px;
  display: flex;
}

.mission-kicker {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  font-size: 11px;
  font-weight: 600;
}

.mission-text {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
}

.mission-target {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  display: flex;
}

.mission-blue {
  border-color: #4c8dff73;
}

.mission-red {
  border-color: #f8514973;
}

.mission-vs {
  color: var(--amber);
  font-weight: 700;
}

.teamcard {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-2);
  text-align: left;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  transition: border-color .12s, box-shadow .12s;
  display: flex;
  position: relative;
}

.teamcard:hover {
  border-color: var(--muted);
}

.teamcard.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.teamcard-glow {
  display: none;
}

.teamcard-head {
  align-items: center;
  gap: 11px;
  display: flex;
}

.teamcard-icon {
  border-radius: 9px;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
}

.teamcard.blue .teamcard-icon {
  color: #4c8dff;
  background: #4c8dff1f;
  border: 1px solid #4c8dff66;
}

.teamcard.red .teamcard-icon {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #f8514966;
}

.team-name {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.team-role {
  color: var(--muted);
  font-size: 12px;
}

.teamcard-role {
  letter-spacing: .05em;
  color: var(--muted);
  font-size: 11px;
}

.teamcard-desc {
  color: var(--text-2);
  flex: 1;
  font-size: 13px;
}

.teamcard-goal {
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  gap: 8px;
  padding: 8px 11px;
  font-size: 12.5px;
  display: flex;
}

.teamcard-check {
  color: var(--muted);
  flex: none;
}

.teamcard-check.on {
  color: var(--ok);
}

.team-score {
  align-items: baseline;
  gap: 7px;
  display: flex;
}

.tourney-winner {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid #b4530966;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  padding: 18px;
  display: flex;
}

.tourney-winner .rank-medal {
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 18px;
}

.tourney-name {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.tourney-meta {
  color: var(--muted);
  font-size: 12.5px;
}

.tourney-teams {
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  display: grid;
}

.tourney-team {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
}

.tourney-score {
  color: var(--brand);
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
}

html[data-bg="dark"] .tourney-score {
  color: var(--brand-hi);
}

.tourney-players {
  flex-direction: column;
  gap: 5px;
  margin-top: 7px;
  display: flex;
}

.tourney-match-row {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 9px;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 11px;
  margin-bottom: 7px;
  padding: 11px 13px;
  font-size: 12.5px;
  display: grid;
}

.tourney-match-row.win {
  border-color: #15803d66;
}

.tourney-match-row.lose {
  border-color: #dc262659;
}

.tourney-match-status {
  letter-spacing: .05em;
  font-size: 10.5px;
}

.tourney-matches {
  flex-direction: column;
  display: flex;
}

.tourney-in-match {
  color: var(--muted);
  font-size: 12.5px;
}

.tourney-detail {
  padding: 16px;
}

.citizen-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 13px;
  display: grid;
}

.citizen-card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  transition: border-color .12s;
  display: flex;
}

.citizen-card:hover {
  border-color: var(--line-2);
}

.citizen-card-head {
  align-items: center;
  gap: 11px;
  display: flex;
}

.citizen-card h3 {
  color: var(--text);
  font-size: 14.5px;
}

.citizen-card p {
  color: var(--muted);
  flex: 1;
  font-size: 12.5px;
}

.citizen-icon, .citizen-task-icon {
  background: var(--brand-soft);
  width: 38px;
  height: 38px;
  color: var(--brand);
  border-radius: 9px;
  flex: none;
  place-items: center;
  display: grid;
}

html[data-bg="dark"] .citizen-icon, html[data-bg="dark"] .citizen-task-icon {
  color: var(--brand-hi);
}

.citizen-dur {
  color: var(--muted);
  font-size: 11px;
}

.citizen-situation {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.7;
}

.citizen-task-head {
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
  display: flex;
}

.citizen-task-meta {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.citizen-options {
  flex-direction: column;
  gap: 8px;
  margin: 15px 0;
  display: flex;
}

.citizen-option {
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  text-align: left;
  border-radius: 9px;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  font-size: 13px;
  transition: border-color .12s, background .12s;
  display: flex;
}

.citizen-option:hover {
  border-color: var(--muted);
}

.citizen-option.picked {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--text);
}

.citizen-player {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  font-size: 13px;
  display: flex;
}

.citizen-result {
  border-radius: 10px;
  padding: 16px;
  font-size: 13.5px;
  line-height: 1.65;
}

.citizen-result.good {
  background: var(--ok-soft);
  color: var(--text-2);
  border: 1px solid #15803d59;
}

.citizen-result.bad {
  background: var(--danger-soft);
  color: var(--text-2);
  border: 1px solid #dc262659;
}

.citizen-start {
  margin-top: 13px;
}

.citizen-video {
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: #0b0f16;
  border-radius: 10px;
  margin: 13px 0;
  position: relative;
  overflow: hidden;
}

.citizen-video-frame {
  width: 100%;
  height: 100%;
}

.citizen-video-badge {
  letter-spacing: .06em;
  color: #c9d1d9;
  background: #0d1117cc;
  border: 1px solid #2d333c;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 10px;
  position: absolute;
  top: 9px;
  left: 9px;
}

.citizen-video-head {
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  display: flex;
}

.citizen-video-link {
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 500;
}

.citizen-video-link:hover {
  text-decoration: underline;
}

.ai-page {
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 18px;
  display: grid;
}

.ai-panel {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  flex-direction: column;
  height: calc(100vh - 150px);
  min-height: 460px;
  display: flex;
  overflow: hidden;
}

.ai-head {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  display: flex;
}

.ai-avatar {
  background: var(--brand);
  color: #fff;
  border-radius: 9px;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}

.ai-avatar-pulse {
  display: none;
}

.ai-scroll {
  flex-direction: column;
  flex: 1;
  gap: 13px;
  padding: 18px;
  display: flex;
  overflow-y: auto;
}

.ai-msg {
  gap: 10px;
  max-width: 86%;
  display: flex;
}

.ai-msg.user {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.ai-msg-avatar {
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
}

.ai-msg.user .ai-msg-avatar {
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--muted);
}

.ai-bubble {
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13.5px;
  line-height: 1.65;
}

.ai-msg.user .ai-bubble {
  background: var(--brand-soft);
  color: var(--text);
  border-color: #2563eb4d;
}

.ai-text {
  white-space: pre-wrap;
}

.ai-error {
  color: var(--danger);
  font-size: 12.5px;
}

.ai-empty {
  text-align: center;
  color: var(--muted);
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin: auto;
  display: flex;
}

.ai-typing {
  gap: 4px;
  padding: 4px 2px;
  display: inline-flex;
}

.ai-typing span {
  background: var(--muted);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 1.2s ease-in-out infinite ca-typing;
}

.ai-typing span:nth-child(2) {
  animation-delay: .15s;
}

.ai-typing span:nth-child(3) {
  animation-delay: .3s;
}

.ai-input-row {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  align-items: flex-end;
  gap: 9px;
  padding: 13px 15px;
  display: flex;
}

.ai-input-row textarea {
  resize: none;
  min-height: 42px;
  max-height: 130px;
}

.ai-attach-row {
  background: var(--surface-2);
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 15px 9px;
  display: flex;
}

.ai-attach-btn {
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  border-radius: 7px;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  font-size: 12px;
  transition: all .12s;
  display: inline-flex;
}

.ai-attach-btn:hover {
  border-color: var(--muted);
  color: var(--text);
}

.ai-img {
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 190px;
}

.ai-chips {
  background: var(--surface-2);
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 15px 11px;
  display: flex;
}

.ai-chip {
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11.5px;
  transition: all .12s;
}

.ai-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

html[data-bg="dark"] .ai-chip:hover {
  color: var(--brand-hi);
}

.ai-caret {
  background: var(--brand);
  vertical-align: text-bottom;
  width: 7px;
  height: 14px;
  animation: 1s step-end infinite ca-blink;
  display: inline-block;
}

.ai-mode-row {
  gap: 7px;
  display: flex;
}

.ai-card {
  padding: 16px;
}

.ai-draft {
  margin-top: 9px;
}

.ai-draft-head {
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
}

.ai-step {
  color: var(--text-2);
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  font-size: 13px;
  display: flex;
}

.ai-review {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  border-radius: 9px;
  padding: 13px;
  font-size: 13px;
}

.studio-new {
  justify-content: flex-end;
  margin-bottom: 15px;
  display: flex;
}

.studio-grid {
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  display: grid;
}

.studio-list {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.studio-item {
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  border-radius: 9px;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  transition: border-color .12s;
  display: flex;
}

.studio-item:hover {
  border-color: var(--line-2);
}

.studio-item.active {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.studio-item-head {
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  display: flex;
}

.studio-item-head b {
  color: var(--text);
  font-size: 13.5px;
}

.studio-item small {
  color: var(--muted);
  font-size: 11.5px;
}

.studio-module {
  padding: 18px;
}

.studio-mod-title {
  color: var(--text);
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 600;
}

.studio-meta {
  color: var(--muted);
  margin-bottom: 13px;
  font-size: 12px;
}

.studio-lesson {
  margin-bottom: 13px;
}

.studio-lesson-head {
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  display: flex;
}

.studio-step {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 8px;
  padding: 13px;
}

.studio-step-head {
  color: var(--text);
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.studio-step-body {
  color: var(--text-2);
  font-size: 12.5px;
}

.studio-step-actions {
  justify-content: flex-end;
  gap: 7px;
  margin-top: 9px;
  display: flex;
}

.studio-add-step {
  width: 100%;
  margin-top: 5px;
}

.studio-content {
  flex-direction: column;
  gap: 13px;
  display: flex;
}

.studio-actions {
  border-top: 1px solid var(--line);
  justify-content: flex-end;
  gap: 9px;
  margin-top: 16px;
  padding-top: 15px;
  display: flex;
}

.sw {
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  display: grid;
}

.sw-l, .sw-r {
  min-width: 0;
}

.status-select {
  width: auto;
  min-width: 130px;
}

.spark {
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  display: flex;
}

.spark i {
  background: var(--brand);
  opacity: .85;
  border-radius: 2px;
  width: 6px;
}

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

.fail {
  color: var(--danger);
}

.notes-textarea {
  width: 100%;
}

.notes-saved {
  color: var(--ok);
  align-items: center;
  gap: 5px;
  font-size: 12px;
  display: inline-flex;
}

.ct-cell {
  color: var(--muted);
  font-size: 11.5px;
}

.hands {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.rate-bar {
  background: var(--surface-3);
  border-radius: 3px;
  height: 5px;
  overflow: hidden;
}

.rate-fill {
  background: var(--brand);
  height: 100%;
}

.bgfx, .bgfx--light, .bgfx--dark, .bgfx--matrix, .bgfx--plexus, .bgfx--grid, .bgfx--aurora, .bgfx--terminal, .bgfx--space, .bgfx-theme-canvas, .bgfx-digital, .bgfx-glow-line, .bgfx-ring, .bgfx-ring-1, .bgfx-ring-2, .bgfx-theme-grid, .bgfx-grid-anim, .bgfx-grid-glow, .bgfx-grid-scan, .aurora-blob, .aurora-blob-1, .aurora-blob-2 {
  display: none;
}

@keyframes ca-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ca-blink {
  50% {
    opacity: 0;
  }
}

@keyframes ca-typing {
  0%, 60%, 100% {
    opacity: .35;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes ca-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes ca-pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .55;
  }
}

.page-fade {
  animation: .18s ca-fade;
}

.page-fade-exit {
  opacity: .001;
}

.avatar-sm {
  background: var(--brand-soft);
  width: 26px;
  height: 26px;
  color: var(--brand);
  border: 1px solid #2563eb4d;
  border-radius: 7px;
  flex: none;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

html[data-bg="dark"] .avatar-sm {
  color: var(--brand-hi);
  border-color: #4c8dff59;
}

.profile-who {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.profile-who b {
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text);
  font-size: 13px;
  overflow: hidden;
}

.profile-who small {
  color: var(--muted);
  font-size: 11px;
}

.lang-switch {
  border-radius: 6px;
  width: auto;
  min-width: 96px;
  height: auto;
  padding: 5px 26px 5px 10px;
  font-size: 12.5px;
}

.tunnel-banner {
  background: var(--brand-soft);
  color: var(--text-2);
  border-bottom: 1px solid #2563eb40;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  font-size: 12.5px;
  display: flex;
}

html[data-bg="dark"] .tunnel-banner {
  border-bottom-color: #4c8dff4d;
}

.tunnel-banner > svg {
  color: var(--brand);
}

html[data-bg="dark"] .tunnel-banner > svg {
  color: var(--brand-hi);
}

.tunnel-label {
  font-weight: 600;
}

.tunnel-url {
  font-family: var(--font-mono);
  color: var(--brand);
  word-break: break-all;
  font-size: 12px;
}

html[data-bg="dark"] .tunnel-url {
  color: var(--brand-hi);
}

.tunnel-url:hover {
  text-decoration: underline;
}

.tunnel-copy {
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
}

.tunnel-copy:hover {
  color: var(--text);
  border-color: var(--muted);
}

.library-item {
  text-align: left;
  align-items: stretch;
}

.library-item-title {
  color: var(--text);
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
}

.library-item-title > span:last-child {
  flex: none;
  margin-left: auto;
}

.code-list {
  flex-direction: column;
  gap: 9px;
  display: flex;
}

.code-row, .code-cmd, .code-desc {
  min-width: 0;
}

.library-cheats {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
  gap: 10px;
  display: grid;
}

.cheat {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 9px;
  overflow: hidden;
}

.cheat summary {
  color: var(--text);
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  list-style: none;
  display: flex;
}

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

.cheat summary:after {
  content: "+";
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.cheat[open] summary {
  border-bottom: 1px solid var(--line);
}

.cheat[open] summary:after {
  content: "–";
}

.cheat .cheat-pre {
  border: none;
  border-radius: 0;
}

.source-locale-flag {
  background: var(--amber-soft);
  color: var(--amber);
  vertical-align: 2px;
  border: 1px solid #b453094d;
  border-radius: 5px;
  align-items: center;
  margin-left: 8px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 600;
  display: inline-flex;
}

.lesson-row {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 8px;
  padding: 11px 13px;
  transition: border-color .12s;
  display: flex;
}

.lesson-row:hover {
  border-color: var(--line-2);
}

.lesson-row strong {
  color: var(--text);
  font-size: 13.5px;
}

.lesson-row > div {
  flex: 1;
  min-width: 0;
}

.lesson-row .lesson-play {
  color: var(--muted);
  flex: none;
  position: static;
}

.lesson-row .lesson-xp {
  flex: none;
  margin-left: auto;
}

.lesson-input {
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  display: flex;
}

.theory-text {
  font-family: var(--font-body);
  color: var(--text-2);
  white-space: pre-wrap;
  background: var(--surface-2);
  font-size: 13.5px;
  line-height: 1.75;
}

.citizen-task-tag {
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid #2563eb40;
  border-radius: 5px;
  align-items: center;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

html[data-bg="dark"] .citizen-task-tag {
  color: var(--brand-hi);
  border-color: #4c8dff4d;
}

.side-badge {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.side-badge.side-red {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #dc262659;
}

.side-badge.side-blue {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: #2563eb59;
}

html[data-bg="dark"] .side-badge.side-blue {
  color: var(--brand-hi);
}

.tourney-chip {
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  border-radius: 9px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 13px 15px;
  transition: border-color .12s, background .12s;
  display: flex;
}

.tourney-chip:hover {
  border-color: var(--line-2);
}

.tourney-chip[data-active="true"] {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.tourney-chip .tourney-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.tourney-chip .tourney-meta {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  display: flex;
}

.tourney-chip-status {
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 700;
}

.tourney-chip-status[data-status="PREP"] {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: #b4530959;
}

.tourney-chip-status[data-status="LIVE"] {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #dc262659;
}

.tourney-chip-status[data-status="FINISHED"] {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: #15803d59;
}

.colon {
  color: var(--muted);
  font-weight: 700;
}

.arena-topology svg {
  width: 100%;
  height: auto;
}

.team-chip {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 8px;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 12px;
  display: flex;
}

.team-chip.team-red {
  border-left: 3px solid var(--danger);
}

.team-chip.team-blue {
  border-left: 3px solid var(--brand);
}

.team-chip.mine {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.team-chip .team-role {
  letter-spacing: .06em;
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
}

.team-chip.team-red .team-role {
  color: var(--danger);
}

.team-chip.team-blue .team-role {
  color: var(--brand);
}

html[data-bg="dark"] .team-chip.team-blue .team-role {
  color: var(--brand-hi);
}

.team-chip .team-name {
  color: var(--text);
  white-space: nowrap;
  text-overflow: ellipsis;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  overflow: hidden;
}

.team-chip .team-score {
  color: var(--text);
  flex: none;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.goal-row {
  color: var(--text-2);
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12.5px;
  display: flex;
}

.goal-row .goal-mark {
  background: var(--surface-3);
  width: 18px;
  height: 18px;
  color: var(--muted);
  border-radius: 5px;
  flex: none;
  place-items: center;
  font-size: 10px;
  display: grid;
}

.goal-row.ok {
  color: var(--ok);
}

.goal-row.ok .goal-mark {
  background: var(--ok-soft);
  color: var(--ok);
}

.goal-row.pend {
  color: var(--amber);
}

.goal-row.pend .goal-mark {
  background: var(--amber-soft);
  color: var(--amber);
}

.hackentry {
  min-height: 0;
  padding: 30px 24px;
}

.hackentry-inner {
  gap: 14px;
}

.hackentry-boot-line {
  gap: 8px;
}

.hackentry .prompt {
  color: #4c8dff;
}

.hackentry .caret {
  color: #4c8dff;
  animation: 1s step-end infinite ca-blink;
}

.hackentry-enter {
  color: #c7d2fe;
  cursor: pointer;
  background: none;
  border: 1px solid #3b424c;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  transition: background .12s, color .12s, border-color .12s, opacity .12s;
  display: inline-flex;
}

.hackentry-enter:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.hackentry-enter.ready {
  color: #0d1117;
  background: #f0f4fa;
  border-color: #f0f4fa;
}

.hackentry.leaving {
  opacity: 0;
  transition: opacity .25s;
}

.hackentry-teams {
  gap: 11px;
  width: 100%;
}

.hackentry-teams .teamcard {
  flex: 260px;
}

.hackentry-vs {
  flex: none;
}

.btn {
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid #0000;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background .12s, border-color .12s, color .12s;
  display: inline-flex;
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.btn svg {
  flex: none;
}

.topology-node.role-workstation {
  border-color: #2563eb73;
}

.topology-node.role-target {
  border-color: #dc262673;
}

.topology-node.role-database {
  border-color: #b4530980;
}

.notes-saved.saving {
  color: var(--muted);
}

.inline-role {
  border-radius: 6px;
  width: auto;
  min-width: 132px;
  padding: 5px 28px 5px 10px;
  font-size: 12.5px;
}

.status-toggle {
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 500;
  transition: border-color .12s, background .12s, color .12s;
  display: inline-flex;
}

.status-toggle:hover {
  border-color: var(--muted);
}

.status-toggle.active {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: #15803d59;
}

.status-toggle.disabled {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #dc26264d;
}

.server-cards {
  margin-bottom: 14px;
}

.server-cols {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

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

.level-low {
  color: var(--danger);
}

.level-moderate {
  color: var(--amber);
}

.level-high {
  color: var(--ok);
}

.level-expert {
  color: var(--brand);
}

html[data-bg="dark"] .level-expert {
  color: var(--brand-hi);
}

.rank-medal.rank-1 {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid #b4530973;
}

.rank-medal.rank-2 {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--text-2);
}

.rank-medal.rank-3 {
  color: #a05a2c;
  background: #b464321f;
  border: 1px solid #b4643266;
}

.badge-step-theory, .badge-step-video {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: #2563eb40;
}

html[data-bg="dark"] .badge-step-theory, html[data-bg="dark"] .badge-step-video {
  color: var(--brand-hi);
}

.badge-step-quiz_single, .badge-step-quiz_multi, .badge-step-short_answer, .badge-step-config_find {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: #b453094d;
}

.badge-step-log_analysis, .badge-step-report, .badge-step-find_vuln {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: #15803d4d;
}

.badge-step-lab_task {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #dc26264d;
}

.correct-mark {
  color: var(--ok) !important;
  background: var(--ok-soft) !important;
  border-color: #15803d80 !important;
}

.alert-error {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #dc26264d;
}

.ai-bubble.streaming {
  border-color: #2563eb59;
}

.ai-attach {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  max-width: 230px;
  padding: 6px 8px;
  display: inline-flex;
}

.ai-attach img {
  object-fit: cover;
  border-radius: 5px;
  flex: none;
  width: 38px;
  height: 38px;
}

.ai-attach > span:not(.ai-attach-name) {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}

.ai-attach button {
  width: 22px;
  height: 22px;
  color: var(--muted);
  border-radius: 5px;
  flex: none;
  place-items: center;
  display: grid;
}

.ai-attach button:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

.ai-disc {
  margin-top: 8px;
}

.feedback {
  border: 1px solid var(--line);
  color: var(--text-2);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 13px;
}

.feedback.ok {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: #15803d4d;
}

.feedback.pending {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: #b453094d;
}

.feedback.fail {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #dc26264d;
}

.feedback.inline {
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12.5px;
  display: inline-flex;
}

.studio-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  display: flex;
}

.studio-head h1 {
  font-size: 20px;
}

.studio-trans {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.tourney-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  display: grid;
}

.score-red {
  color: var(--danger);
}

.score-blue {
  color: var(--brand);
}

html[data-bg="dark"] .score-blue {
  color: var(--brand-hi);
}

.learning-banner {
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  display: flex;
}

.learning-banner .small-icon {
  background: var(--brand-soft);
  width: 42px;
  height: 42px;
  color: var(--brand);
  border-radius: 10px;
}

html[data-bg="dark"] .learning-banner .small-icon {
  color: var(--brand-hi);
}

.learning-banner h2 {
  margin-bottom: 4px;
  font-size: 18px;
}

.learning-banner p {
  max-width: 520px;
  margin: 0;
}

.learning-banner .text-link {
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  display: inline-flex;
}

.learning-banner .learning-note {
  flex: none;
}

@media (max-width: 1180px) {
  .topnav-links .topnav-link:nth-child(n+7) {
    display: none;
  }
}

@media (max-width: 1080px) {
  .topnav-links .topnav-link:nth-child(n+6) {
    display: none;
  }
}

@media (max-width: 1020px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workspace-grid, .lesson-rows, .ai-page, .studio-grid, .arena-workspace, .tourney-teams, .two-columns {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    display: none;
  }
}

@media (max-width: 900px) {
  .topnav-links, .topnav-more, .page-crumb {
    display: none;
  }

  .side-drawer {
    z-index: 40;
    background: var(--surface);
    border-right: 1px solid var(--line);
    width: min(320px, 86vw);
    height: 100%;
    box-shadow: var(--shadow-2);
    flex-direction: column;
    transition: transform .2s;
    display: flex;
    position: fixed;
    inset: 0;
    transform: translateX(-102%);
  }

  .side-drawer.is-open {
    transform: translateX(0);
  }

  .course-card, .code-row {
    grid-template-columns: 1fr;
  }

  .account-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-hero-stats {
    margin-left: 0;
  }

  .sw, .ob-roles {
    grid-template-columns: 1fr;
  }

  .tourney-match-row {
    grid-template-columns: auto 1fr auto;
  }

  .footer-inner {
    flex-direction: column;
  }

  .hackentry {
    padding: 26px 16px;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .topnav-inner {
    padding: 0 14px;
  }

  .topnav-inner .panel {
    padding: 13px 14px;
  }

  .user-chip-name {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 10px;
  }

  .hero-stats > div + div {
    border-left: none;
    padding-left: 0;
  }

  .arena-teams {
    flex-direction: column;
  }

  .tunnel-banner {
    padding: 8px 14px;
  }

  .footer-inner {
    padding: 20px 14px;
  }
}

html[data-bg="dark"] body:before {
  opacity: .35;
}

@keyframes ca-ambient {
  0%, 100% {
    opacity: .42;
  }

  50% {
    opacity: .62;
  }
}

@keyframes ca-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

a.card, .feature-card, .direction-card, article.scenario-card {
  transition: border-color .16s, box-shadow .16s, transform .16s;
}

a.card:hover, .feature-card:hover, .direction-card:hover, article.scenario-card:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.feature-arrow svg, .section-title a svg, .back-link svg, .text-link svg {
  transition: transform .16s;
}

.feature-card:hover .feature-arrow svg, .section-title a:hover svg, .back-link:hover svg {
  transform: translateX(3px);
}

.button.primary, a.btn-primary, .header-login {
  transition: background .15s, border-color .15s, box-shadow .15s, transform .1s;
}

.button.primary:hover, a.btn-primary:hover, .header-login:hover {
  box-shadow: 0 3px 12px #2563eb47;
}

html[data-bg="dark"] .button.primary:hover, html[data-bg="dark"] a.btn-primary:hover, html[data-bg="dark"] .header-login:hover {
  box-shadow: 0 3px 12px #4c8dff52;
}

.button:active, .btn-primary:active, .header-login:active {
  box-shadow: none;
  transform: translateY(1px);
}

.progress > span, .cs-bar-fill {
  transition: width .7s cubic-bezier(.22, .61, .36, 1);
}

.hero-status .blip, .lab-queue-dot {
  animation: 2.2s ease-in-out infinite ca-pulse;
}

.lab-room {
  z-index: 60;
  background: #0a1418;
  flex-direction: column;
  display: flex;
  position: fixed;
  inset: 0;
}

.lab-room-bar {
  background: var(--sidebar, #10272d);
  color: #a9bbc1;
  border-bottom: 1px solid #75e4c326;
  flex: 0 0 52px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 14px;
  display: flex;
}

.lab-room-left, .lab-room-right {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.lab-room-back {
  color: #cfe8df;
  cursor: pointer;
  background: #75e4c314;
  border: 1px solid #75e4c32e;
  border-radius: 9px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  display: inline-flex;
}

.lab-room-back:hover {
  background: #75e4c329;
}

.lab-room-flask {
  color: var(--mint, #75e4c3);
  flex: none;
}

.lab-room-title {
  color: #eaf5f0;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
}

.lab-room-title small {
  color: #7e97a0;
  font-size: 11px;
  font-weight: 500;
  display: block;
}

.lab-room-status {
  color: #bfe9da;
  white-space: nowrap;
  background: #75e4c312;
  border: 1px solid #75e4c340;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  display: inline-flex;
}

.lab-room-dot {
  background: #f2b04a;
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
}

.lab-room-status.is-ready .lab-room-dot {
  background: var(--mint, #75e4c3);
  animation: 2s infinite ca-pulse;
  box-shadow: 0 0 8px #75e4c3cc;
}

.lab-room-status.is-preparing .lab-room-dot {
  animation: 1.2s infinite ca-pulse;
}

.lab-room-status.is-stopped .lab-room-dot, .lab-room-status.is-destroyed .lab-room-dot {
  background: #8a9aa2;
}

.lab-room-status.is-error .lab-room-dot {
  background: #ff6b6b;
}

.lab-room-ttl {
  color: #9fb4bc;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  display: inline-flex;
}

.lab-room-terminal {
  color: #cfe8df;
  white-space: nowrap;
  background: #75e4c30f;
  border: 1px solid #75e4c333;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 12.5px;
  text-decoration: none;
  display: inline-flex;
}

.lab-room-terminal:hover {
  background: #75e4c324;
}

.lab-room-exit {
  color: #ffd7d7;
  cursor: pointer;
  white-space: nowrap;
  background: #dc3c3c29;
  border: 1px solid #ff6b6b59;
  border-radius: 9px;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
}

.lab-room-exit:hover {
  background: #dc3c3c4d;
}

.lab-room-exit:disabled {
  opacity: .6;
  cursor: wait;
}

.lab-room-body {
  flex: auto;
  min-height: 0;
  position: relative;
}

.lab-room-frame {
  background: #05090b;
  border: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.lab-room-msg {
  color: #9fb4bc;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 24px;
  display: flex;
  position: absolute;
  inset: 0;
}

.lab-room-msg > svg {
  color: var(--mint, #75e4c3);
}

.lab-room-msg p {
  max-width: 480px;
  margin: 0;
}

.lab-room-prep-title {
  font-size: 16px;
  font-weight: 600;
  color: #eaf5f0 !important;
}

.lab-room-error-detail {
  color: #ff9b9b;
  word-break: break-word;
  max-width: 560px;
  font-size: 12.5px;
}

.lab-launch {
  color: #eaf5f0;
  background: linear-gradient(120deg, #10272d 0%, #14343c 100%);
  border: 1px solid #75e4c338;
  border-radius: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 20px 22px;
  display: flex;
}

.lab-launch-info {
  align-items: center;
  gap: 14px;
  min-width: 0;
  display: flex;
}

.lab-launch-icon {
  width: 52px;
  height: 52px;
  color: var(--mint, #75e4c3);
  background: #75e4c31a;
  border: 1px solid #75e4c34d;
  border-radius: 14px;
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

.lab-launch-info h3 {
  color: #eaf5f0;
  margin: 0 0 3px;
  font-size: 17px;
}

.lab-launch-info p {
  color: #8fb0a8;
  max-width: 520px;
  margin: 0;
  font-size: 13px;
}

.lab-launch-error {
  color: #f2b8b5;
  margin-top: 4px;
  font-size: 12.5px;
}

.lab-launch-actions {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  display: flex;
}

.lab-launch-os {
  color: #8fb0a8;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  display: flex;
}

.lab-launch-os select {
  color: #eaf5f0;
  background: #0d1f24;
  border: 1px solid #75e4c34d;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 13.5px;
}

.lab-launch-btn {
  cursor: pointer;
  background: var(--mint, #75e4c3);
  color: #06231d;
  border: 0;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  box-shadow: 0 6px 18px #75e4c340;
}

.lab-launch-btn:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.lab-launch-btn:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

@media (max-width: 720px) {
  .lab-launch {
    flex-direction: column;
    align-items: stretch;
  }

  .lab-launch-actions {
    justify-content: space-between;
  }
}

html[data-bg="dark"] .secondary {
  color: var(--text);
  border-color: var(--line);
}

html[data-bg="dark"] .secondary:hover:not(:disabled), html[data-bg="dark"] .ghost:hover {
  background: var(--surface-3);
}

html[data-bg="dark"] input, html[data-bg="dark"] select, html[data-bg="dark"] textarea, html[data-bg="dark"] .search-box {
  border-color: var(--line);
}

html[data-bg="dark"] .topbar {
  background: var(--surface);
}

html[data-bg="dark"] .stat > strong, html[data-bg="dark"] .empty h3, html[data-bg="dark"] td strong {
  color: var(--text);
}

html[data-bg="dark"] .stat .between, html[data-bg="dark"] .stat svg, html[data-bg="dark"] .stat > small {
  color: var(--muted);
}

html[data-bg="dark"] .topic-tags span, html[data-bg="dark"] .empty-icon, html[data-bg="dark"] .tabs button.selected, html[data-bg="dark"] .scenario-icon, html[data-bg="dark"] .difficulty, html[data-bg="dark"] .badge, html[data-bg="dark"] .progress, html[data-bg="dark"] .task-sidebar, html[data-bg="dark"] .task-nav-item.selected, html[data-bg="dark"] .upload-control, html[data-bg="dark"] .auth-form-side, html[data-bg="dark"] .learning-card, html[data-bg="dark"] .result-hero, html[data-bg="dark"] .score-ring > div, html[data-bg="dark"] .error-state, html[data-bg="dark"] .notice {
  background: var(--surface-2);
}

html[data-bg="dark"] th {
  background: var(--surface-2);
  color: var(--muted);
}

html[data-bg="dark"] td {
  border-color: var(--line);
  color: var(--text-2);
}

html[data-bg="dark"] .direction-footer, html[data-bg="dark"] .scenario-footer {
  border-color: var(--line);
}

html[data-bg="dark"] .field {
  color: var(--text-2);
}

.cert-wrap {
  max-width: 920px;
  margin: 0 auto;
}

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

.cert-sheet {
  color: #fff;
  background: radial-gradient(1.5px 1.5px at 14% 22%, #ffffff8c 0, #0000 100%), radial-gradient(1px 1px at 36% 12%, #fff6 0, #0000 100%), radial-gradient(1.5px 1.5px at 62% 28%, #ffffff73 0, #0000 100%), radial-gradient(1px 1px at 82% 18%, #ffffff80 0, #0000 100%), radial-gradient(1px 1px at 90% 48%, #ffffff59 0, #0000 100%), radial-gradient(2px 2px at 24% 66%, #8bc4ff66 0, #0000 100%), radial-gradient(1.5px 1.5px at 72% 76%, #ffffff4d 0, #0000 100%), linear-gradient(#050a14 0%, #081120 48%, #0b1a30 80%, #10253f 100%);
  border: 1px solid #1d2c45;
  border-radius: 18px;
  padding: 54px 60px 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px #081226b3;
}

.cert-sheet:after {
  content: "";
  pointer-events: none;
  background: radial-gradient(120% 100% at 50% 130%, #57c8ff2e 0%, #57c8ff0d 45%, #0000 70%);
  height: 120px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.cert-border {
  pointer-events: none;
  border: 1px solid #78beff52;
  border-radius: 12px;
  position: absolute;
  inset: 14px;
}

.cert-head {
  z-index: 1;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
  position: relative;
}

.cert-brand {
  align-items: center;
  gap: 11px;
  display: flex;
}

.cert-logo {
  color: #7fd0ff;
  background: linear-gradient(145deg, #3879c07a, #1e48786b);
  border: 1px solid #78beff46;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  display: inline-flex;
  box-shadow: 0 0 24px #57c8ff2e;
}

.cert-brand strong {
  letter-spacing: .2px;
  font-size: 17px;
  display: block;
}

.cert-brand small {
  color: #8ba3bf;
  letter-spacing: 1.2px;
  font-size: 10.5px;
}

.cert-idbox {
  text-align: right;
  background: #0d1b30;
  border: 1px solid #78beff40;
  border-radius: 9px;
  padding: 9px 14px;
}

.cert-idbox small {
  letter-spacing: 1.6px;
  color: #7fb8e8;
  font-size: 9px;
  display: block;
}

.cert-idbox strong {
  font-family: var(--font-jbmono), ui-monospace, monospace;
  color: #cfe8ff;
  letter-spacing: 1px;
  font-size: 15px;
}

.cert-body {
  z-index: 1;
  text-align: center;
  padding: 42px 10px 8px;
  position: relative;
}

.cert-kicker {
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #57c8ff;
  background: #57c8ff14;
  border: 1px solid #57c8ff66;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 10px;
  display: inline-block;
}

.cert-title {
  letter-spacing: 6px;
  margin: 22px 0 6px;
  font-size: 42px;
  font-weight: 650;
}

.cert-lead {
  color: #9fb4cf;
  margin-bottom: 26px;
  font-size: 14px;
}

.cert-name {
  color: #fff;
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 650;
}

.cert-prog {
  color: #9fb4cf;
  margin-bottom: 14px;
  font-size: 13px;
}

.cert-scenario {
  color: #57c8ff;
  max-width: 640px;
  margin: 0 auto 14px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}

.cert-trackchip {
  letter-spacing: .8px;
  color: #8fc6ef;
  background: #0d1b30;
  border: 1px solid #78beff40;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  display: inline-block;
}

.cert-metrics {
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  display: flex;
}

.cert-metric {
  background: #0d1b30b8;
  border: 1px solid #78beff38;
  border-radius: 11px;
  min-width: 150px;
  padding: 13px 20px;
}

.cert-metric small {
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #7fb8e8;
  margin-bottom: 5px;
  font-size: 9.5px;
  display: block;
}

.cert-metric strong {
  color: #eaf3fc;
  font-variant-numeric: tabular-nums;
  align-items: center;
  gap: 7px;
  font-size: 24px;
  font-weight: 650;
  display: inline-flex;
}

.cert-metric strong span {
  color: #7fb8e8;
  font-size: 13px;
  font-weight: 500;
}

.cert-foot {
  z-index: 1;
  border-top: 1px solid #78beff2e;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-top: 44px;
  padding-top: 18px;
  display: flex;
  position: relative;
}

.cert-verify small, .cert-sign small {
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #7fb8e8;
  margin-bottom: 4px;
  font-size: 9px;
  display: block;
}

.cert-verify code {
  font-family: var(--font-jbmono), ui-monospace, monospace;
  color: #cfe8ff;
  word-break: break-all;
  font-size: 11.5px;
}

.cert-sign small {
  margin-bottom: 0;
}

.cert-granted {
  color: #eaf3fc;
  background: linear-gradient(135deg, #0e1826 0%, #0b1a30 100%);
  border: 1px solid #1e2c42;
  border-radius: 13px;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 20px 24px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.cert-granted:before {
  content: "";
  background: linear-gradient(90deg, #57c8ff99, #0000 70%);
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.cert-granted-icon {
  color: #57c8ff;
  background: #57c8ff1f;
  border: 1px solid #78beff59;
  border-radius: 13px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  display: inline-flex;
}

.cert-granted-body {
  flex: 1;
  min-width: 0;
}

.cert-granted-body h2 {
  margin: 0 0 6px;
  font-size: 17px;
}

.cert-granted-body p {
  color: #9fb4cf;
  margin: 0;
  font-size: 13px;
}

.cert-granted-body code {
  font-family: var(--font-jbmono), ui-monospace, monospace;
  color: #cfe8ff;
  background: #57c8ff1a;
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 12px;
}

.cert-granted-actions {
  flex-shrink: 0;
  gap: 10px;
  display: flex;
}

@media (max-width: 900px) {
  .cert-granted {
    flex-wrap: wrap;
  }
}

.cert-row {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 11px;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  transition: border-color .15s, transform .15s;
  display: flex;
}

.cert-row:hover {
  border-color: #57c8ff;
  transform: translateY(-1px);
}

.cert-row-icon {
  color: #137e72;
  background: #57c8ff1f;
  border-radius: 10px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  display: inline-flex;
}

.cert-row-body {
  flex: 1;
  min-width: 0;
}

.cert-row-body strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13.5px;
  display: block;
  overflow: hidden;
}

.cert-row-body small {
  color: var(--muted);
  font-size: 11px;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  body {
    background: #fff !important;
  }

  .sidebar, .topbar, .footer, .skip-link, .cert-toolbar, .no-print {
    display: none !important;
  }

  .app-shell {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  .main-shell {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-content {
    max-width: none !important;
    padding: 0 !important;
  }

  .cert-wrap {
    max-width: none;
    margin: 0;
  }

  .cert-sheet {
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    border: none;
    border-radius: 0;
    min-height: 297mm;
  }
}

.mapping-section h3 {
  color: var(--muted, #5b6b80);
  margin: 0 0 8px;
  font-size: .85rem;
}

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

.chip {
  cursor: default;
  border-radius: 999px;
  align-items: center;
  padding: 4px 10px;
  font-size: .75rem;
  line-height: 1.2;
  display: inline-flex;
}

.chip-mitre {
  color: #57c8ff;
  background: #57c8ff17;
  border: 1px solid #57c8ff59;
}

.chip-kz {
  color: #c79a3a;
  background: #ffc45717;
  border: 1px solid #ffc45766;
}

html[data-bg="light"] .chip-mitre, html[data-bg="light"] .chip-kz {
  color: inherit;
}

html[data-bg="light"] .chip-mitre {
  color: #1769aa;
  background: #1769aa14;
  border-color: #1769aa59;
}

html[data-bg="light"] .chip-kz {
  color: #8a6414;
  background: #c79a3a1a;
  border-color: #c79a3a73;
}

.cyberscore-page {
  max-width: 1200px;
  margin: 0 auto;
}

.cyberscore-hero {
  background: linear-gradient(135deg, #050a14 0%, #081120 45%, #0b1a30 75%, #10253f 100%);
  border: 1px solid #1d2c45;
  border-radius: 18px;
  justify-content: space-between;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 18px;
  padding: 26px 30px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px -22px #0000008c;
}

.cyberscore-hero:after {
  content: "";
  pointer-events: none;
  background: radial-gradient(#57c8ff29, #0000 65%);
  height: 70%;
  position: absolute;
  inset: auto -10% -55%;
}

.cyberscore-hero .banner-label {
  color: #7fb8e8;
  letter-spacing: .14em;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: .72rem;
  display: flex;
}

.cyberscore-hero .banner-label .dot {
  background: #57c8ff;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 10px #57c8ffcc;
}

.cyberscore-hero h2 {
  color: #eaf3fc;
  margin: 0 0 10px;
  font-size: 1.7rem;
  line-height: 1.25;
}

.cyberscore-hero h2 span {
  color: #57c8ff;
}

.cyberscore-hero p {
  color: #9fb4cf;
  max-width: 640px;
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
}

.cyberscore-avg {
  z-index: 1;
  background: #57c8ff0f;
  border: 1px solid #78beff40;
  border-radius: 14px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 170px;
  padding: 18px 22px;
  display: flex;
  position: relative;
}

.cyberscore-avg .num {
  color: #57c8ff;
  font-variant-numeric: tabular-nums;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

.cyberscore-avg .cap {
  color: #9fb4cf;
  margin-top: 6px;
  font-size: .8rem;
}

.cyberscore-avg .sub {
  color: #64798f;
  margin-top: 3px;
  font-size: .72rem;
}

.cyberscore-grid {
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
  display: grid;
}

@media (max-width: 900px) {
  .cyberscore-grid {
    grid-template-columns: 1fr;
  }

  .cyberscore-hero {
    flex-direction: column;
  }
}

.cyberscore-form h2, .cyberscore-result h2 {
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 1.05rem;
  display: flex;
}

.cyberscore-form .accent {
  color: #57c8ff;
}

.cs-example summary {
  cursor: pointer;
  color: #57c8ff;
  margin-bottom: 10px;
  font-size: .85rem;
}

.cs-example pre {
  color: #9fb4cf;
  white-space: pre-wrap;
  background: #0b141f;
  border: 1px solid #1e2c42;
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 12px 14px;
  font-size: .78rem;
}

.cs-error {
  color: #ff8f8f;
  margin: 8px 0 0;
  font-size: .85rem;
}

.cyberscore-form textarea {
  color: #dbe7f5;
  resize: vertical;
  background: #0b141f;
  border: 1px solid #1e2c42;
  border-radius: 10px;
  width: 100%;
  padding: 12px 14px;
  font-size: .85rem;
  line-height: 1.5;
}

.cs-score-row {
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
  display: flex;
}

.cs-score-big {
  align-items: baseline;
  gap: 4px;
  min-width: 110px;
  display: flex;
}

.cs-score-big .num {
  color: #57c8ff;
  font-variant-numeric: tabular-nums;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}

.cs-score-big .max {
  color: #64798f;
  font-size: .9rem;
}

.cs-feedback {
  color: #dbe7f5;
  margin: 8px 0 0;
  font-size: .9rem;
  line-height: 1.5;
}

.cs-criteria {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.cs-criterion-head {
  color: #dbe7f5;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: .85rem;
  display: flex;
}

.cs-criterion .bar {
  background: #13202f;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.cs-criterion .bar-fill {
  background: linear-gradient(90deg, #2f7fd4, #57c8ff);
  border-radius: 999px;
  height: 100%;
  transition: width .6s;
}

.cs-comment {
  margin: 6px 0 0;
  font-size: .78rem;
  line-height: 1.45;
}

.ai-report {
  border-left: 3px solid #57c8ff;
  align-items: center;
  gap: 18px;
  display: flex;
}

.ai-report-score {
  align-items: baseline;
  gap: 3px;
  min-width: 84px;
  display: flex;
}

.ai-report-score .num {
  color: #57c8ff;
  font-variant-numeric: tabular-nums;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}

.ai-report-score span:last-child {
  color: #64798f;
  font-size: .85rem;
}

.ai-report-body {
  flex: 1;
}

.ai-report-body h2 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.ai-report-body p {
  color: var(--muted, #5b6b80);
  margin: 0;
  font-size: .85rem;
  line-height: 1.5;
}

.result-hero {
  background: linear-gradient(135deg, #050a14 0%, #081120 45%, #0b1a30 75%, #10253f 100%);
  border: 1px solid #1d2c45;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px -22px #0000008c;
}

.result-hero:after {
  content: "";
  pointer-events: none;
  background: radial-gradient(#57c8ff26, #0000 65%);
  height: 70%;
  position: absolute;
  inset: auto -10% -55%;
}

.result-hero h2 {
  color: #eaf3fc;
  margin: 0 0 8px;
}

.result-hero p, .result-hero .progress-group > .between {
  color: #9fb4cf;
}

.result-hero .progress-group > .between strong {
  color: #57c8ff;
  font-variant-numeric: tabular-nums;
}

.result-hero .progress {
  background: #13202f;
}

.result-hero .progress > span {
  background: linear-gradient(90deg, #2f7fd4, #57c8ff);
}

.score-ring {
  background: conic-gradient(#57c8ff var(--score), #13202f 0);
}

.score-ring > div {
  background: #0b141f;
}

.score-ring strong {
  color: #57c8ff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px #57c8ff59;
}

.score-ring span {
  color: #64798f;
}

.result-hero .badge {
  background: #57c8ff1a;
}

.workspace-heading {
  background: linear-gradient(120deg, #050a14 0%, #081120 40%, #0b1a30 75%, #10253f 100%);
  border: 1px solid #1d2c45;
  border-radius: 16px;
  padding: 18px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 40px -20px #00000080;
}

.workspace-heading:after {
  content: "";
  pointer-events: none;
  background: radial-gradient(#57c8ff24, #0000 65%);
  height: 80%;
  position: absolute;
  inset: auto -15% -60%;
}

.workspace-heading h1 {
  color: #eaf3fc;
  z-index: 1;
  position: relative;
}

.workspace-heading .back-link {
  color: #7fb8e8;
}

.timer {
  color: #57c8ff;
  z-index: 1;
  font-variant-numeric: tabular-nums;
  background: #57c8ff14;
  border-color: #78beff4d;
  position: relative;
}

.timer small {
  color: #9fb4cf;
}

.admin-hero {
  background: linear-gradient(120deg, #050a14 0%, #081120 40%, #0b1a30 75%, #10253f 100%);
  border: 1px solid #1d2c45;
  border-radius: 16px;
  margin-bottom: 22px;
  padding: 22px 26px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 40px -20px #00000080;
}

.admin-hero:after {
  content: "";
  pointer-events: none;
  background: radial-gradient(#57c8ff24, #0000 65%);
  height: 80%;
  position: absolute;
  inset: auto -15% -60%;
}

.admin-hero .page-heading {
  z-index: 1;
  margin-bottom: 14px;
  position: relative;
}

.admin-hero .eyebrow {
  color: #7fb8e8;
}

.admin-hero h1 {
  color: #eaf3fc;
  margin: 0 0 6px;
}

.admin-hero .page-heading p {
  color: #9fb4cf;
  margin: 0;
}

.admin-hero .route-tabs {
  z-index: 1;
  border-bottom: 1px solid #78beff2e;
  gap: 22px;
  margin-bottom: 0;
  position: relative;
}

.admin-hero .route-tabs a {
  color: #9fb4cf;
  padding: 10px 0;
  font-size: 13.5px;
}

.admin-hero .route-tabs a.selected {
  color: #57c8ff;
  border-bottom: 2px solid #57c8ff;
}

.range-status {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 12px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 18px;
  font-size: 13px;
  display: flex;
}

.range-status strong {
  color: var(--text);
  font-weight: 700;
}

.range-status-dot {
  background: #34d399;
  border-radius: 50%;
  flex: none;
  width: 9px;
  height: 9px;
  animation: 2s ease-out infinite range-pulse;
}

@keyframes range-pulse {
  0% {
    box-shadow: 0 0 #34d39973;
  }

  70% {
    box-shadow: 0 0 0 9px #34d39900;
  }

  100% {
    box-shadow: 0 0 #34d39900;
  }
}

.range-status-sep {
  opacity: .45;
}

.lab-ttl {
  color: #06231d;
  background: var(--mint, #75e4c3);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.lab-live-dot {
  background: #34d399;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  animation: 2s ease-out infinite range-pulse;
  display: inline-block;
}

.scenario-card.diff-beginner {
  border-top: 3px solid #358a6d;
}

.scenario-card.diff-intermediate {
  border-top: 3px solid #d99a2b;
}

.scenario-card.diff-advanced {
  border-top: 3px solid #c2554f;
}

.scenario-card p {
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.difficulty.intermediate {
  color: #b07d2e;
  background: #fdf4e3;
}

html[data-bg="dark"] .difficulty.intermediate {
  color: #e0a852;
  background: #e0a8521f;
}

html[data-bg="dark"] .scenario-card.diff-beginner {
  border-top-color: #34d399;
}

html[data-bg="dark"] .scenario-card.diff-intermediate {
  border-top-color: #e0a852;
}

html[data-bg="dark"] .scenario-card.diff-advanced {
  border-top-color: #e07a74;
}

.onboard-sub {
  color: var(--muted);
  margin: -6px 0 18px;
  font-size: 13.5px;
}

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

.onboard-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  display: flex;
  position: relative;
}

.onboard-card:hover {
  border-color: #6366f173;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px #0f172a1a;
}

.onboard-num {
  opacity: .13;
  font-size: 30px;
  font-weight: 800;
  position: absolute;
  top: 12px;
  right: 16px;
}

.onboard-icon {
  color: #6366f1;
  background: #6366f11f;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  display: flex;
}

.onboard-card:nth-child(2) .onboard-icon {
  color: #0d9488;
  background: #0d94881f;
}

.onboard-card:nth-child(3) .onboard-icon {
  color: #0f766e;
  background: #0f766e1f;
}

.onboard-card h3 {
  color: var(--text);
  margin: 0;
  font-size: 15.5px;
}

.onboard-card p {
  color: var(--muted);
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
}

html[data-bg="dark"] .onboard-icon {
  color: #a5b4fc;
  background: #818cf829;
}

html[data-bg="dark"] .onboard-card:nth-child(2) .onboard-icon {
  color: #5eead4;
  background: #2dd4bf24;
}

html[data-bg="dark"] .onboard-card:nth-child(3) .onboard-icon {
  color: #75e4c3;
  background: #75e4c31f;
}

html[data-bg="dark"] .onboard-card:hover {
  border-color: #818cf880;
  box-shadow: 0 10px 26px #00000059;
}

.feature-card:nth-child(2) .feature-icon {
  color: #0d9488;
  background: #0d94881f;
}

.feature-card:nth-child(3) .feature-icon {
  color: #d97706;
  background: #d977061f;
}

.feature-card:nth-child(4) .feature-icon {
  color: #e11d48;
  background: #e11d481a;
}

.feature-card:nth-child(5) .feature-icon {
  color: #0284c7;
  background: #0ea5e91f;
}

.feature-card:nth-child(6) .feature-icon {
  color: #0f766e;
  background: #0f766e1f;
}

html[data-bg="dark"] .feature-card:nth-child(2) .feature-icon {
  color: #5eead4;
  background: #2dd4bf24;
}

html[data-bg="dark"] .feature-card:nth-child(3) .feature-icon {
  color: #e0a852;
  background: #e0a85224;
}

html[data-bg="dark"] .feature-card:nth-child(4) .feature-icon {
  color: #fb7185;
  background: #fb718524;
}

html[data-bg="dark"] .feature-card:nth-child(5) .feature-icon {
  color: #38bdf8;
  background: #38bdf824;
}

html[data-bg="dark"] .feature-card:nth-child(6) .feature-icon {
  color: #75e4c3;
  background: #75e4c31f;
}

@media (max-width: 900px) {
  .onboard-grid {
    grid-template-columns: 1fr;
  }
}

html[data-bg="dark"] .page-heading h1 {
  background: linear-gradient(94deg, #fff 30%, #c8e9ff 62%, #38bdf8 95%);
  color: #0000;
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-bg="dark"] .welcome-banner h2 {
  background: linear-gradient(94deg, #f4f9ff 30%, #bfe6ff 70%, #7dd3fc 100%);
  color: #0000;
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-bg="dark"] .welcome-banner h2 span {
  background: linear-gradient(94deg, #7dd3fc, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-bg="dark"] .button.primary {
  color: #04121c;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  font-weight: 700;
  box-shadow: 0 4px 16px #38bdf84d;
}

html[data-bg="dark"] .button.primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

html[data-bg="dark"] .button.primary:disabled {
  opacity: .55;
  filter: none;
  transform: none;
}

.scenario-visual {
  border-radius: 10px;
  justify-content: flex-end;
  align-items: center;
  height: 78px;
  margin-bottom: 15px;
  padding: 0 18px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.scenario-visual > svg {
  opacity: .6;
  z-index: 1;
  width: 46px;
  height: 46px;
  position: relative;
}

.scenario-visual:before {
  content: "";
  background: radial-gradient(120% 170% at 10% 95%, #ffffff2e, #0000 55%), repeating-linear-gradient(90deg, #ffffff0b 0 1px, #0000 1px 26px);
  position: absolute;
  inset: 0;
}

.scenario-visual.citizen {
  color: #5eead4;
  background: linear-gradient(115deg, #0d94888c, #0d948824);
}

.scenario-visual.business-law {
  color: #93c5fd;
  background: linear-gradient(115deg, #2563eb8c, #2563eb24);
}

.scenario-visual.it-soc {
  color: #c4b5fd;
  background: linear-gradient(115deg, #7c3aed8c, #7c3aed24);
}

.scenario-visual.law-order {
  color: #fcd34d;
  background: linear-gradient(115deg, #d9770680, #d9770624);
}

.scenario-visual-chip {
  z-index: 2;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  position: absolute;
  top: 10px;
  left: 10px;
}

.range-console {
  border: 1px solid var(--line);
  background: radial-gradient(140% 130% at 88% -12%, #38bdf81a, transparent 55%), var(--surface);
  border-radius: 16px;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 22px;
  margin: 0 0 20px;
  padding: 18px 20px 20px;
  display: grid;
}

html[data-bg="dark"] .range-console {
  background: radial-gradient(140% 130% at 88% -12%, #38bdf829, #0000 55%), #0a1122;
  border-color: #7da5ff33;
  box-shadow: 0 18px 50px #0208148c;
}

.range-console-head {
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  grid-column: 1 / -1;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.range-console-head .range-status-dot {
  width: 8px;
  height: 8px;
}

.range-topo {
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: 10px 0;
  display: flex;
}

.range-node {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 104px;
  padding: 14px 12px 12px;
  display: flex;
  position: relative;
}

.range-node .range-node-dot {
  background: #34d399;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  animation: 2s ease-out infinite range-pulse;
  position: absolute;
  top: 9px;
  right: 9px;
}

.range-node.role-router .range-node-dot {
  background: #fbbf24;
}

.range-node.role-target .range-node-dot {
  background: #fb7185;
}

.range-node-icon {
  width: 38px;
  height: 38px;
  color: var(--brand-hi, #7dd3fc);
  background: #38bdf821;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.range-node .name {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
}

.range-node .ip {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 10.5px;
}

.range-link {
  background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 12px);
  opacity: .55;
  flex: none;
  width: 30px;
  height: 2px;
}

.range-console-log {
  font-family: var(--font-mono);
  color: var(--text-2);
  border-left: 1px solid var(--line);
  align-self: center;
  padding-left: 20px;
  font-size: 12px;
  line-height: 2;
}

.range-console-log .ok {
  color: var(--ok);
}

.range-console-log .accent {
  color: var(--brand-hi, #7dd3fc);
}

.range-console-log .dim {
  color: var(--muted);
}

@media (max-width: 940px) {
  .range-console {
    grid-template-columns: 1fr;
  }

  .range-console-log {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    padding-left: 0;
  }
}

.lab-room-machines {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.room-node {
  color: #d3ece4;
  background: #75e4c312;
  border: 1px solid #75e4c340;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  font-size: 11.5px;
  display: inline-flex;
}

.room-node .dot {
  background: #34d399;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: 2s ease-out infinite range-pulse;
}

.room-node.role-router .dot {
  background: #fbbf24;
}

.room-node.role-target .dot {
  background: #fb7185;
}

.room-node .ip {
  font-family: var(--font-mono);
  color: #8fb0a8;
  font-size: 10.5px;
}

.lesson-script {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.script-frame {
  background: #0a0f14;
  border: 1px solid #7da5ff29;
  border-radius: 12px;
  overflow: hidden;
}

.script-frame.fix {
  border-color: #34d39959;
}

.script-titlebar {
  font-family: var(--font-mono);
  color: #9fb4cf;
  background: #101822;
  border-bottom: 1px solid #7da5ff1f;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 12px;
  display: flex;
}

.script-titlebar code {
  color: #dce8f5;
  font-size: 12px;
}

.script-lang {
  text-transform: lowercase;
  color: #7dd3fc;
  background: #38bdf824;
  border-radius: 5px;
  margin-left: auto;
  padding: 2px 8px;
  font-size: 10px;
}

.script-dots {
  gap: 5px;
  display: inline-flex;
}

.script-dots i {
  background: #2a3646;
  border-radius: 50%;
  width: 9px;
  height: 9px;
}

.script-dots i:first-child {
  background: #f87171;
}

.script-dots i:nth-child(2) {
  background: #fbbf24;
}

.script-dots i:nth-child(3) {
  background: #34d399;
}

.script-pre {
  font-family: var(--font-mono);
  color: #c9d8e8;
  margin: 0;
  padding: 16px 18px;
  font-size: 12.5px;
  line-height: 1.75;
  overflow-x: auto;
}

.script-frame.fix .script-pre {
  color: #b8ecd4;
}

.script-quiz {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

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

.script-opt {
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  color: var(--text);
  -webkit-user-select: none;
  user-select: none;
  border-radius: 11px;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  display: inline-flex;
}

.script-opt input {
  display: none;
}

.script-opt.safe:hover, .script-opt.safe.selected {
  border-color: #34d39999;
  box-shadow: 0 0 0 3px #34d3991f;
}

.script-opt.safe.selected {
  background: #34d3991a;
}

.script-opt.danger:hover, .script-opt.danger.selected {
  border-color: #fb718599;
  box-shadow: 0 0 0 3px #fb71851f;
}

.script-opt.danger.selected {
  background: #fb71851a;
}

.script-reveal {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.script-reveal-badges {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.script-verdict {
  border-radius: 999px;
  align-items: center;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.script-verdict.safe {
  color: var(--ok, #15803d);
  background: #34d39924;
  border: 1px solid #34d39966;
}

.script-verdict.danger {
  color: var(--danger, #dc2626);
  background: #fb71851f;
  border: 1px solid #fb718566;
}

html[data-bg="dark"] .script-verdict.safe {
  color: #34d399;
}

html[data-bg="dark"] .script-verdict.danger {
  color: #fb7185;
}

.script-sev {
  border-radius: 999px;
  align-items: center;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.script-sev.sev-warning {
  color: var(--warn, #b45309);
  background: #fbbf241f;
  border: 1px solid #fbbf2466;
}

.script-sev.sev-danger {
  color: var(--danger, #dc2626);
  background: #fb71851f;
  border: 1px solid #fb718580;
  animation: 1.6s ease-in-out infinite sev-blink;
}

html[data-bg="dark"] .script-sev.sev-warning {
  color: #fbbf24;
}

html[data-bg="dark"] .script-sev.sev-danger {
  color: #fb7185;
}

@keyframes sev-blink {
  50% {
    box-shadow: 0 0 14px #fb718566;
  }
}

.script-expl {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  border-radius: 10px;
  margin: 0;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.7;
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__1pcere1._.css.map*/