/* ../bootstrap/node_modules/@xterm/xterm/css/xterm.css */
.xterm {
  cursor: text;
  position: relative;
  user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
}
.xterm.focus,
.xterm:focus {
  outline: none;
}
.xterm .xterm-helpers {
  position: absolute;
  top: 0;
  z-index: 5;
}
.xterm .xterm-helper-textarea {
  padding: 0;
  border: 0;
  margin: 0;
  position: absolute;
  opacity: 0;
  left: -9999em;
  top: 0;
  width: 0;
  height: 0;
  z-index: -5;
  white-space: nowrap;
  overflow: hidden;
  resize: none;
}
.xterm .composition-view {
  background: #000;
  color: #FFF;
  display: none;
  position: absolute;
  white-space: nowrap;
  z-index: 1;
}
.xterm .composition-view.active {
  display: block;
}
.xterm .xterm-viewport {
  background-color: #000;
  overflow-y: scroll;
  cursor: default;
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
}
.xterm .xterm-screen {
  position: relative;
}
.xterm .xterm-screen canvas {
  position: absolute;
  left: 0;
  top: 0;
}
.xterm .xterm-scroll-area {
  visibility: hidden;
}
.xterm-char-measure-element {
  display: inline-block;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: -9999em;
  line-height: normal;
}
.xterm.enable-mouse-events {
  cursor: default;
}
.xterm.xterm-cursor-pointer,
.xterm .xterm-cursor-pointer {
  cursor: pointer;
}
.xterm.column-select.focus {
  cursor: crosshair;
}
.xterm .xterm-accessibility:not(.debug),
.xterm .xterm-message {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 10;
  color: transparent;
  pointer-events: none;
}
.xterm .xterm-accessibility-tree:not(.debug) *::selection {
  color: transparent;
}
.xterm .xterm-accessibility-tree {
  user-select: text;
  white-space: pre;
}
.xterm .live-region {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.xterm-dim {
  opacity: 1 !important;
}
.xterm-underline-1 {
  text-decoration: underline;
}
.xterm-underline-2 {
  text-decoration: double underline;
}
.xterm-underline-3 {
  text-decoration: wavy underline;
}
.xterm-underline-4 {
  text-decoration: dotted underline;
}
.xterm-underline-5 {
  text-decoration: dashed underline;
}
.xterm-overline {
  text-decoration: overline;
}
.xterm-overline.xterm-underline-1 {
  text-decoration: overline underline;
}
.xterm-overline.xterm-underline-2 {
  text-decoration: overline double underline;
}
.xterm-overline.xterm-underline-3 {
  text-decoration: overline wavy underline;
}
.xterm-overline.xterm-underline-4 {
  text-decoration: overline dotted underline;
}
.xterm-overline.xterm-underline-5 {
  text-decoration: overline dashed underline;
}
.xterm-strikethrough {
  text-decoration: line-through;
}
.xterm-screen .xterm-decoration-container .xterm-decoration {
  z-index: 6;
  position: absolute;
}
.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer {
  z-index: 7;
}
.xterm-decoration-overview-ruler {
  z-index: 8;
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
}
.xterm-decoration-top {
  z-index: 2;
  position: relative;
}

/* frontend/style.css */
:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  color: #dce5ef;
  background: #0b1119;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100dvh;
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  background: #1c2a3b;
  color: #e4edf6;
  border: 1px solid #33445a;
  border-radius: 7px;
  padding: 9px 12px;
}
button:hover {
  background: #2b4059;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button[aria-pressed=true],
.primary {
  background: #255b67;
  border-color: #58bac3;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #7bd9df;
  outline-offset: 3px;
}
input,
button,
input,
textarea,
select {
  background: #0e1825;
  color: #e4edf6;
  border: 1px solid #35465c;
  border-radius: 7px;
  padding: 10px;
}
textarea {
  resize: vertical;
  min-height: 68px;
  width: 100%;
  max-height: 190px;
}
header {
  height: 68px;
  border-bottom: 1px solid #283344;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  gap: 14px;
}
header strong {
  font-size: 18px;
  letter-spacing: 0.03em;
}
header small {
  display: block;
  color: #8b9caf;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-top: 3px;
}
.health {
  font-size: 12px;
  color: #a8bacd;
}
.layout {
  display: grid;
  grid-template-columns: 230px minmax(320px, 1fr) 300px;
  height: calc(100dvh - 68px);
}
aside {
  padding: 18px;
  overflow: auto;
  background: #101925;
}
#left {
  border-right: 1px solid #283344;
}
#right {
  border-left: 1px solid #283344;
}
h2 {
  font-size: 15px;
  margin: 6px 0 16px;
}
h3 {
  font-size: 12px;
  color: #9aafc4;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 25px 0 12px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.section-heading button {
  padding: 5px 9px;
}
.profile-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 5px 0;
}
.profile {
  flex: 1;
  text-align: left;
  background: transparent;
  border-color: transparent;
}
.status {
  font-size: 11px;
  color: #9cb7bd;
}
.details-button {
  padding: 6px;
  background: transparent;
  border: 0;
}
.stack {
  display: grid;
  gap: 7px;
}
.stack button {
  text-align: left;
}
.stack small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  color: #94a8bb;
}
.route-options {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.route-options button {
  flex: 1;
}
.conversation {
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.conversation-top {
  padding: 18px 24px;
  border-bottom: 1px solid #263244;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.conversation-top h1 {
  font-size: 18px;
  margin: 0 0 5px;
}
.muted,
small {
  color: #99adbf;
}
.conversation-top small {
  font-size: 12px;
}
#messages {
  overflow: auto;
  flex: 1;
  padding: 25px;
  overscroll-behavior: contain;
}
.message {
  max-width: 820px;
  margin: 0 auto 22px;
  padding: 16px 20px;
  border: 1px solid #293748;
  border-radius: 12px;
  background: #131f2d;
}
.message.user {
  background: #172b34;
  border-color: #2c4851;
}
.message strong {
  font-size: 13px;
  color: #80ccd2;
}
.message small {
  display: block;
  font-size: 11px;
  margin-top: 7px;
}
.message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
  margin: 10px 0 0;
}
.composer-wrap {
  padding: 14px 22px 18px;
  border-top: 1px solid #293748;
  background: #101925;
}
#composer {
  display: grid;
  gap: 10px;
}
.composer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.attachment-label {
  cursor: pointer;
  color: #a9bdce;
  font-size: 12px;
}
.attachment-label input {
  max-width: 180px;
  font-size: 11px;
  border: 0;
  padding: 0;
}
.banner {
  padding: 9px 20px;
  background: #3b3020;
  color: #eed3a3;
  font-size: 12px;
}
#notice {
  font-size: 12px;
  min-height: 20px;
  color: #eed3a3;
  margin-top: 7px;
}
#council-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 22px;
  border-bottom: 1px solid #283344;
}
.council-person {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.card {
  padding: 12px;
  margin-bottom: 10px;
  background: #172231;
  border: 1px solid #2b3c50;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.card p {
  line-height: 1.5;
  font-size: 12px;
  margin: 8px 0;
}
.card button {
  margin: 4px 4px 0 0;
  font-size: 12px;
}
.card select {
  width: 100%;
}
.urgent {
  padding: 14px;
  border: 1px solid #db8c72;
  background: #40231f;
  border-radius: 8px;
  margin-bottom: 12px;
}
.urgent p {
  font-size: 13px;
  line-height: 1.5;
}
.warning {
  color: #ffcb93;
}
.control-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.control-actions button {
  font-size: 11px;
  padding: 7px;
}
.mobile-toggle {
  display: none;
}
dialog {
  background: #111d2b;
  color: #e0e9f4;
  border: 1px solid #40536a;
  border-radius: 14px;
  width: min(600px, 92vw);
  max-height: 85dvh;
  padding: 24px;
}
dialog::backdrop {
  background: #030811bc;
}
dialog form {
  display: grid;
  gap: 14px;
}
dialog label {
  display: grid;
  gap: 7px;
}
dialog .close {
  float: right;
}
#login {
  position: fixed;
  inset: 0;
  background: #0b1119f5;
  z-index: 20;
  display: grid;
  place-items: center;
}
#login form {
  width: min(380px, 90vw);
  display: grid;
  gap: 18px;
  padding: 30px;
  background: #14202e;
  border: 1px solid #34485c;
  border-radius: 16px;
}
#login h1 {
  font-size: 23px;
  margin: 0;
}
#login p {
  line-height: 1.6;
  color: #a6b9cc;
  margin: 0;
}
#login label {
  display: grid;
  gap: 8px;
}
#terminal-panel {
  border-top: 1px solid #4b627a;
  background: #101821;
  height: 300px;
  flex-shrink: 0;
  padding: 10px 18px;
}
#terminal-panel .section-heading {
  margin-bottom: 8px;
}
#terminal {
  height: 235px;
}
#terminal .xterm-viewport {
  overflow-y: auto !important;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1150px) {
  .layout {
    grid-template-columns: 210px minmax(300px, 1fr);
  }
  #right {
    display: none;
    position: fixed;
    right: 0;
    top: 68px;
    bottom: 0;
    width: 300px;
    z-index: 6;
    box-shadow: -12px 0 40px #0008;
  }
  .show-right #right {
    display: block;
  }
  #right-toggle {
    display: block;
  }
}
@media (max-width: 700px) {
  header {
    padding: 0 12px;
    height: 58px;
  }
  header strong {
    font-size: 15px;
  }
  .health {
    display: none;
  }
  .layout {
    display: flex;
    height: calc(100dvh - 58px);
  }
  .conversation {
    width: 100%;
  }
  #left {
    display: none;
    position: fixed;
    left: 0;
    top: 58px;
    bottom: 0;
    width: 250px;
    z-index: 7;
    box-shadow: 12px 0 40px #0009;
  }
  .show-left #left {
    display: block;
  }
  .mobile-toggle {
    display: block;
  }
  #right {
    top: 58px;
    width: min(320px, 90vw);
  }
  .conversation-top {
    padding: 14px;
  }
  .conversation-top h1 {
    font-size: 16px;
  }
  #messages {
    padding: 15px;
  }
  .message {
    padding: 13px;
  }
  .composer-wrap {
    padding: 10px 12px max(12px, env(safe-area-inset-bottom));
  }
  .composer-actions small {
    font-size: 10px;
  }
  #terminal-panel {
    height: 260px;
    padding: 8px;
  }
  #terminal {
    height: 205px;
  }
}
:root {
  --mc2-bg: #050c16;
  --mc2-bg-deep: #02070d;
  --mc2-shell: #071321;
  --mc2-panel: #0b1928;
  --mc2-panel-raised: #0e2033;
  --mc2-panel-hover: #122a42;
  --mc2-border: #1d344b;
  --mc2-border-bright: #28506e;
  --mc2-border-soft: rgba(71, 112, 148, 0.26);
  --mc2-text: #edf6ff;
  --mc2-text-soft: #afc3d8;
  --mc2-text-muted: #7089a3;
  --mc2-cyan: #39d8ff;
  --mc2-blue: #4d91ff;
  --mc2-green: #48ed8c;
  --mc2-yellow: #ffc94b;
  --mc2-purple: #a97cff;
  --mc2-red: #ff6479;
  --mc2-radius: 12px;
  --mc2-radius-sm: 8px;
  --mc2-shadow: 0 14px 38px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.018);
  color: var(--mc2-text);
  background: var(--mc2-bg);
}
html {
  background: var(--mc2-bg-deep);
}
body {
  min-width: 0;
  min-height: 100dvh;
  color: var(--mc2-text);
  background:
    radial-gradient(
      circle at 72% -10%,
      rgba(44, 103, 180, 0.18),
      transparent 34%),
    linear-gradient(
      145deg,
      #06101d 0%,
      #040a12 60%,
      #02070d 100%);
}
body::selection {
  background: rgba(57, 216, 255, 0.25);
  color: #fff;
}
button,
input,
button,
input,
textarea,
select {
  transition:
    background-color 130ms ease,
    border-color 130ms ease,
    box-shadow 130ms ease,
    transform 130ms ease;
}
button {
  color: var(--mc2-text);
  background:
    linear-gradient(
      180deg,
      rgba(21, 46, 72, 0.94),
      rgba(12, 29, 46, 0.96));
  border: 1px solid var(--mc2-border);
  border-radius: var(--mc2-radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
button:hover:not(:disabled) {
  background:
    linear-gradient(
      180deg,
      rgba(27, 63, 95, 0.98),
      rgba(15, 38, 59, 0.98));
  border-color: var(--mc2-border-bright);
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button[aria-pressed=true],
.primary {
  color: #eafcff;
  background:
    linear-gradient(
      180deg,
      rgba(18, 109, 135, 0.92),
      rgba(11, 69, 89, 0.96));
  border-color: rgba(57, 216, 255, 0.54);
  box-shadow: 0 0 22px rgba(57, 216, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
input,
button,
input,
textarea,
select {
  color: var(--mc2-text);
  background: rgba(4, 13, 23, 0.78);
  border-color: var(--mc2-border);
}
input::placeholder,
textarea::placeholder {
  color: #667d94;
}
header {
  height: 74px;
  padding: 0 22px;
  background:
    linear-gradient(
      90deg,
      rgba(5, 15, 26, 0.98),
      rgba(8, 24, 41, 0.98));
  border-bottom: 1px solid var(--mc2-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
header strong {
  color: #f3f8ff;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: 0.025em;
}
header strong .muted {
  color: var(--mc2-cyan);
}
header small {
  color: #7892ad;
}
.health {
  color: var(--mc2-green);
}
.layout {
  grid-template-columns: 238px minmax(500px, 1fr) 370px;
  height: calc(100dvh - 74px);
  background: transparent;
}
aside {
  background: rgba(6, 17, 29, 0.94);
  scrollbar-color: #254662 transparent;
}
#left {
  border-right: 1px solid var(--mc2-border);
  background:
    radial-gradient(
      circle at 12% 84%,
      rgba(38, 94, 162, 0.24),
      transparent 31%),
    radial-gradient(
      ellipse at -20% 115%,
      rgba(48, 118, 203, 0.16),
      transparent 43%),
    linear-gradient(
      180deg,
      rgba(5, 18, 31, 0.99),
      rgba(5, 15, 26, 0.99));
}
#right {
  border-left: 1px solid var(--mc2-border);
  background:
    linear-gradient(
      180deg,
      rgba(8, 22, 37, 0.98),
      rgba(5, 15, 26, 0.99));
}
.conversation {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(30, 75, 123, 0.09),
      transparent 30%),
    rgba(4, 12, 21, 0.76);
}
.conversation-top {
  min-height: 72px;
  padding: 16px 22px;
  background: rgba(7, 21, 36, 0.82);
  border-bottom: 1px solid var(--mc2-border-soft);
  backdrop-filter: blur(10px);
}
.conversation-top h1 {
  color: #f2f7ff;
  font-size: 19px;
  font-weight: 680;
}
#connection {
  color: var(--mc2-green);
}
h2 {
  color: #eff6ff;
  font-weight: 680;
}
h3 {
  color: #7892ad;
}
.section-heading {
  min-height: 32px;
}
.profile-row {
  padding: 2px;
  border-radius: 9px;
}
.profile-row:hover {
  background: rgba(38, 83, 119, 0.14);
}
.profile {
  color: #c9d9e9;
}
.status {
  color: var(--mc2-green);
}
.stack {
  gap: 8px;
}
.stack button {
  padding: 10px 11px;
  background: rgba(10, 27, 44, 0.72);
  border-color: rgba(42, 72, 99, 0.75);
}
.stack button:hover {
  background: rgba(17, 43, 67, 0.88);
}
.card {
  background:
    linear-gradient(
      145deg,
      rgba(14, 34, 53, 0.98),
      rgba(9, 24, 39, 0.98));
  border-color: var(--mc2-border);
  border-radius: var(--mc2-radius);
  box-shadow: var(--mc2-shadow);
}
.card strong {
  color: #eef6ff;
}
#messages {
  padding: 24px;
}
.message {
  background:
    linear-gradient(
      145deg,
      rgba(11, 29, 47, 0.98),
      rgba(8, 22, 36, 0.98));
  border-color: var(--mc2-border);
  box-shadow: var(--mc2-shadow);
}
.message.user {
  background:
    linear-gradient(
      145deg,
      rgba(11, 46, 57, 0.92),
      rgba(8, 30, 40, 0.96));
  border-color: rgba(52, 140, 156, 0.44);
}
.message strong {
  color: var(--mc2-cyan);
}
.composer-wrap {
  background: rgba(5, 16, 27, 0.96);
  border-top-color: var(--mc2-border);
}
#draft {
  min-height: 76px;
  background: rgba(3, 11, 20, 0.9);
  border-color: #203b53;
}
#draft:focus {
  border-color: rgba(57, 216, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(57, 216, 255, 0.07);
}
.banner {
  background: rgba(116, 77, 18, 0.28);
  color: #ffd991;
  border-bottom: 1px solid rgba(255, 201, 75, 0.18);
}
.urgent {
  border-color: rgba(255, 100, 121, 0.58);
  background: rgba(83, 24, 35, 0.52);
}
.warning {
  color: #ffd18c;
}
#terminal-panel {
  background: #050c13;
  border-top-color: #20374c;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.22);
}
dialog {
  background:
    linear-gradient(
      145deg,
      rgba(13, 31, 49, 0.99),
      rgba(7, 19, 31, 0.99));
  border-color: #294762;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}
dialog::backdrop {
  background: rgba(0, 5, 11, 0.78);
  backdrop-filter: blur(4px);
}
#login {
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(34, 91, 155, 0.2),
      transparent 32%),
    rgba(2, 8, 14, 0.97);
}
#login form {
  background:
    linear-gradient(
      145deg,
      rgba(14, 34, 54, 0.99),
      rgba(7, 20, 33, 0.99));
  border-color: #2a4965;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.58), 0 0 50px rgba(57, 216, 255, 0.04);
}
#login h1 {
  color: #f4f8ff;
}
@media (max-width: 1300px) {
  .layout {
    grid-template-columns: 220px minmax(420px, 1fr) 330px;
  }
}
@media (max-width: 1080px) {
  .layout {
    grid-template-columns: 210px minmax(320px, 1fr);
  }
  #right {
    width: 340px;
  }
}
.mc2-command-center {
  overflow: hidden;
}
.mc2-shell {
  display: grid;
  grid-template-columns: 238px minmax(680px, 1fr) 370px;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
}
.mc2-sidebar,
.mc2-right-rail {
  position: relative;
  min-width: 0;
  height: 100dvh;
  overflow: auto;
}
.mc2-sidebar {
  display: flex;
  flex-direction: column;
  padding: 18px 14px 16px;
}
.mc2-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 8px 23px;
}
.mc2-brand strong {
  display: block;
  color: #f2f7ff;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.mc2-brand > div:last-child > span {
  display: block;
  margin-top: 3px;
  color: #607f9b;
  font-size: 9px;
  letter-spacing: 0.15em;
}
.mc2-brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}
.mc2-brand-mark span {
  position: absolute;
  border: 1px solid rgba(57, 216, 255, 0.75);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(57, 216, 255, 0.12);
}
.mc2-brand-mark span:nth-child(1) {
  inset: 5px;
}
.mc2-brand-mark span:nth-child(2) {
  inset: 10px;
  border-color: rgba(77, 145, 255, 0.75);
}
.mc2-brand-mark span:nth-child(3) {
  inset: 14px;
  background: var(--mc2-cyan);
  border-color: var(--mc2-cyan);
  box-shadow: 0 0 14px rgba(57, 216, 255, 0.6);
}
.mc2-primary-nav {
  display: grid;
  gap: 4px;
}
.mc2-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 12px;
  color: #91a7bc;
  text-align: left;
  background: transparent;
  border-color: transparent;
}
.mc2-nav-item:hover {
  color: #dceafb;
  background: rgba(25, 56, 85, 0.38);
}
.mc2-nav-item.active {
  color: #dcf8ff;
  background:
    linear-gradient(
      90deg,
      rgba(22, 101, 133, 0.46),
      rgba(17, 49, 73, 0.34));
  border-color: rgba(57, 216, 255, 0.18);
  box-shadow: inset 3px 0 0 var(--mc2-cyan);
}
.mc2-nav-icon {
  width: 19px;
  color: #74a6c9;
  text-align: center;
}
.mc2-nav-item.active .mc2-nav-icon {
  color: var(--mc2-cyan);
}
.mc2-sidebar-section {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(43, 73, 99, 0.54);
}
.mc2-sidebar-section h3 {
  margin: 0;
}
.mc2-icon-button {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
}
.mc2-sublist {
  max-height: 150px;
  margin-top: 8px;
  overflow: auto;
}
.mc2-sublist button {
  padding: 8px 9px;
  font-size: 11px;
}
.mc2-sidebar-footer {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding: 17px 5px 0;
  border-top: 1px solid rgba(43, 73, 99, 0.54);
}
.mc2-network-state {
  display: flex;
  align-items: center;
  gap: 9px;
}
.mc2-network-state strong,
.mc2-network-state span {
  display: block;
}
.mc2-network-state strong {
  font-size: 11px;
}
.mc2-network-state .health {
  margin-top: 2px;
  font-size: 9px;
}
.mc2-pulse,
.mc2-online-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--mc2-green);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(72, 237, 140, 0.8);
}
.mc2-build-meta {
  display: grid;
  color: #58728a;
  font-size: 9px;
}
.mc2-build-meta small {
  margin-top: 2px;
  color: #425d75;
}
.mc2-stage {
  min-width: 0;
  height: 100dvh;
  overflow: hidden;
  border-right: 1px solid var(--mc2-border);
}
.mc2-topbar {
  display: grid;
  grid-template-columns: auto minmax(220px, 520px) auto;
  align-items: center;
  gap: 18px;
  height: 70px;
  padding: 0 20px;
}
.mc2-topbar-title {
  display: none;
}
.mc2-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  height: 38px;
  padding: 0 11px;
  color: #5d7c96;
  background: rgba(3, 11, 20, 0.66);
  border: 1px solid #1b354c;
  border-radius: 8px;
}
.mc2-search input {
  min-width: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
}
.mc2-search kbd {
  padding: 3px 6px;
  color: #637e96;
  background: #0c1b2b;
  border: 1px solid #213950;
  border-radius: 5px;
  font-size: 9px;
  white-space: nowrap;
}
.mc2-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.mc2-online-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #9cc5b0;
  background: rgba(24, 70, 47, 0.22);
  border: 1px solid rgba(72, 237, 140, 0.16);
  border-radius: 999px;
  font-size: 10px;
  white-space: nowrap;
}
.mc2-user-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 4px 5px;
  background: transparent;
  border-color: transparent;
}
.mc2-avatar,
.mc2-mini-avatar {
  display: inline-grid;
  place-items: center;
  background:
    linear-gradient(
      145deg,
      rgba(65, 143, 211, 0.8),
      rgba(38, 84, 151, 0.9));
  border: 1px solid rgba(117, 184, 239, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(77, 145, 255, 0.12);
}
.mc2-avatar {
  width: 31px;
  height: 31px;
  font-size: 11px;
}
.mc2-user-copy {
  display: grid;
  text-align: left;
}
.mc2-user-copy strong {
  font-size: 10px;
}
.mc2-user-copy small {
  color: #627f98;
  font-size: 8px;
}
.mc2-main {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - 70px);
  overflow: hidden;
  padding: 22px;
}
.mc2-dashboard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.mc2-dashboard-heading h1 {
  margin: 3px 0 4px;
  color: #f1f7ff;
  font-size: 23px;
  letter-spacing: -0.02em;
}
.mc2-dashboard-heading > div:first-child > p:last-child {
  margin: 0;
  color: #7890a7;
  font-size: 11px;
}
.mc2-eyebrow,
.mc2-panel-kicker {
  margin: 0;
  color: #5d829d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.mc2-heading-actions {
  display: flex;
  gap: 8px;
}
.mc2-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.mc2-kpi {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 92px;
  padding: 14px;
  background:
    linear-gradient(
      145deg,
      rgba(11, 29, 47, 0.98),
      rgba(7, 20, 34, 0.98));
  border: 1px solid #1a344a;
  border-radius: 11px;
  box-shadow: var(--mc2-shadow);
}
.mc2-kpi > div:nth-child(2) {
  display: grid;
  gap: 2px;
}
.mc2-kpi span {
  color: #7891a7;
  font-size: 9px;
}
.mc2-kpi strong {
  color: #eff7ff;
  font-size: 22px;
  font-weight: 720;
}
.mc2-kpi small {
  grid-column: 1 / -1;
  color: #4e6a82;
  font-size: 8px;
}
.mc2-kpi-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.mc2-kpi-icon.cyan {
  color: var(--mc2-cyan);
  background: rgba(57, 216, 255, 0.08);
}
.mc2-kpi-icon.green {
  color: var(--mc2-green);
  background: rgba(72, 237, 140, 0.08);
}
.mc2-kpi-icon.purple {
  color: var(--mc2-purple);
  background: rgba(169, 124, 255, 0.08);
}
.mc2-kpi-icon.blue {
  color: var(--mc2-blue);
  background: rgba(77, 145, 255, 0.08);
}
.mc2-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.8fr);
  gap: 14px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}
.mc2-panel {
  min-width: 0;
  padding: 15px;
  background:
    linear-gradient(
      145deg,
      rgba(10, 26, 43, 0.98),
      rgba(6, 18, 31, 0.98));
  border: 1px solid #1b344b;
  border-radius: 11px;
  box-shadow: var(--mc2-shadow);
}
.mc2-panel-wide {
  grid-row: span 2;
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}
.mc2-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.mc2-panel-heading h2 {
  margin: 3px 0 0;
}
.mc2-panel-heading > small {
  color: #698299;
  font-size: 9px;
}
.mc2-message-feed {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0 12px;
}
.mc2-message-feed .message {
  max-width: none;
  margin-bottom: 9px;
  padding: 11px 13px;
}
.mc2-message-feed .message p {
  margin-top: 7px;
  line-height: 1.45;
  font-size: 11px;
}
.mc2-composer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: #a9bed1;
  font-size: 10px;
}
.mc2-mini-avatar {
  width: 23px;
  height: 23px;
  font-size: 7px;
}
.mc2-main .composer-wrap {
  margin: auto 0 -15px;
  padding: 12px 15px 14px;
  border-radius: 0 0 11px 11px;
  background: linear-gradient(
    180deg,
    rgba(16, 30, 48, 0),
    rgba(16, 30, 48, 0.6) 60%,
    rgba(16, 30, 48, 0.95)
  );
  position: sticky;
  bottom: 0;
  z-index: 2;
}
.mc2-main #draft {
  min-height: 58px;
  max-height: 130px;
  font-size: 11px;
}
.mc2-main .control-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mc2-main .control-actions button {
  margin: 0;
}
.mc2-right-rail {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mc2-ai-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 90px;
  padding: 16px 18px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 40%,
      rgba(57, 216, 255, 0.15),
      transparent 24%),
    radial-gradient(
      circle at 80% 10%,
      rgba(169, 124, 255, 0.13),
      transparent 30%),
    linear-gradient(
      110deg,
      rgba(9, 32, 52, 1),
      rgba(13, 25, 49, 1));
  border-bottom: 1px solid #1b354b;
}
.mc2-ai-hero strong,
.mc2-ai-hero span,
.mc2-ai-hero small {
  display: block;
}
.mc2-ai-hero strong {
  margin: 2px 0;
  color: #eff8ff;
  font-size: 15px;
}
.mc2-ai-hero small {
  color: #54cde9;
  font-size: 8px;
  letter-spacing: 0.15em;
}
.mc2-ai-hero > div:nth-child(2) > span {
  color: #748fa8;
  font-size: 9px;
}
.mc2-ai-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  border: 1px solid rgba(57, 216, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(57, 216, 255, 0.15), inset 0 0 20px rgba(77, 145, 255, 0.12);
}
.mc2-ai-orb::before,
.mc2-ai-orb::after {
  position: absolute;
  content: "";
  inset: 7px;
  border: 1px solid rgba(169, 124, 255, 0.38);
  border-radius: 40% 60% 55% 45%;
  transform: rotate(35deg);
}
.mc2-ai-orb::after {
  inset: 12px;
  border-color: rgba(57, 216, 255, 0.58);
  transform: rotate(-25deg);
}
.mc2-ai-orb span {
  width: 6px;
  height: 6px;
  background: #dffbff;
  border-radius: 50%;
  box-shadow: 0 0 12px #6cecff;
}
.mc2-ai-hero .mc2-online-dot {
  position: absolute;
  top: 16px;
  right: 16px;
}
.mc2-assistant-panel {
  padding: 17px 16px;
  border-bottom: 1px solid #1a3349;
}
.mc2-assistant-panel h2 {
  margin: 3px 0 0;
}
.mc2-live-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mc2-green);
  font-size: 8px;
}
.mc2-assistant-intro {
  margin: 8px 0 13px;
  color: #7892a9;
  font-size: 10px;
  line-height: 1.5;
}
.mc2-profile-list {
  max-height: 270px;
  overflow: auto;
}
.mc2-profile-list .profile-row {
  padding: 3px 0;
}
.mc2-profile-list .profile {
  font-size: 10px;
}
.mc2-profile-list .status {
  font-size: 8px;
}
.mc2-terminal-dock {
  display: flex;
  min-height: 260px;
  flex: 1;
  flex-direction: column;
  padding: 16px;
  background:
    linear-gradient(
      180deg,
      rgba(4, 12, 20, 0.95),
      rgba(2, 8, 14, 0.99));
}
.mc2-terminal-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.mc2-terminal-title h2 {
  margin: 3px 0 0;
}
.mc2-terminal-node {
  padding: 4px 6px;
  color: #5e819b;
  background: #091725;
  border: 1px solid #183048;
  border-radius: 5px;
  font-size: 8px;
}
.mc2-right-rail #terminal-panel {
  height: auto;
  flex: 1;
  margin-top: 12px;
  padding: 9px;
  border: 1px solid #173149;
  border-radius: 8px;
}
.mc2-right-rail #terminal {
  height: 220px;
}
.mc2-terminal-idle {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 190px;
  margin-top: 12px;
  color: #3e5a72;
  text-align: center;
  border: 1px dashed #173149;
  border-radius: 8px;
}
.mc2-terminal-idle span {
  align-self: end;
  color: #4e7593;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: 22px;
}
.mc2-terminal-idle p {
  align-self: start;
  width: 80%;
  margin: 5px auto 0;
  font-size: 9px;
  line-height: 1.45;
}
.mc2-login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mc2-login-brand small {
  color: var(--mc2-cyan);
  font-size: 8px;
  letter-spacing: 0.15em;
}
.mc2-login-brand h1 {
  margin-top: 2px;
}
.mc2-remember {
  font-size: 11px;
}
.mc2-remember span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mc2-remember input {
  width: auto;
}
body.mc2-command-center > header,
body.mc2-command-center > .layout {
  display: none;
}
@media (max-width: 1420px) {
  .mc2-shell {
    grid-template-columns: 220px minmax(620px, 1fr) 330px;
  }
  .mc2-user-copy {
    display: none;
  }
}
@media (max-width: 1180px) {
  .mc2-shell {
    grid-template-columns: 210px minmax(560px, 1fr);
  }
  .mc2-right-rail {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    display: none;
    width: min(360px, 92vw);
    z-index: 20;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.62);
  }
  .show-right .mc2-right-rail {
    display: flex;
  }
  #right-toggle {
    display: inline-grid;
  }
}
@media (max-width: 850px) {
  .mc2-shell {
    display: block;
  }
  .mc2-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    display: none;
    width: min(260px, 88vw);
    z-index: 30;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.66);
  }
  .show-left .mc2-sidebar {
    display: flex;
  }
  .mc2-stage {
    width: 100%;
  }
  .mc2-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0 12px;
  }
  .mc2-topbar-title {
    display: block;
  }
  .mc2-topbar-title small,
  .mc2-topbar-title strong {
    display: block;
  }
  .mc2-topbar-title small {
    color: #587793;
    font-size: 7px;
  }
  .mc2-topbar-title strong {
    font-size: 12px;
  }
  .mc2-search {
    display: none;
  }
  #left-toggle {
    display: inline-grid;
  }
  .mc2-main {
    padding: 14px;
  }
  .mc2-dashboard-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .mc2-heading-actions {
    align-self: flex-start;
  }
  .mc2-kpis {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
  .mc2-dashboard-grid {
    display: block;
  }
  .mc2-panel {
    margin-bottom: 12px;
  }
  .mc2-panel-wide {
    min-height: 500px;
  }
}
@media (max-width: 520px) {
  .mc2-topbar-actions .mc2-online-pill {
    display: none;
  }
  .mc2-dashboard-heading h1 {
    font-size: 20px;
  }
  .mc2-kpis {
    grid-template-columns: 1fr;
  }
  .mc2-heading-actions {
    width: 100%;
  }
  .mc2-heading-actions button {
    flex: 1;
  }
}
.mc2-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.mc2-overview-card {
  min-height: 205px;
}
.mc2-overview-list {
  display: grid;
  gap: 7px;
}
.mc2-overview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 9px 10px;
  background: rgba(7, 21, 35, 0.72);
  border: 1px solid rgba(31, 58, 81, 0.76);
  border-radius: 8px;
}
.mc2-overview-row:hover {
  background: rgba(12, 34, 54, 0.9);
  border-color: rgba(43, 86, 116, 0.9);
}
.mc2-overview-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.mc2-overview-copy strong,
.mc2-overview-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc2-overview-copy strong {
  color: #dce9f6;
  font-size: 10px;
  font-weight: 620;
}
.mc2-overview-copy small {
  color: #607c95;
  font-size: 8px;
}
.mc2-overview-empty {
  display: grid;
  min-height: 105px;
  place-items: center;
  margin: 0;
  color: #506c84;
  font-size: 9px;
  text-align: center;
  border: 1px dashed rgba(35, 64, 88, 0.72);
  border-radius: 8px;
}
.mc2-row-state,
.mc2-count-badge {
  flex: 0 0 auto;
  padding: 4px 6px;
  border: 1px solid rgba(72, 237, 140, 0.18);
  border-radius: 999px;
  color: var(--mc2-green);
  background: rgba(72, 237, 140, 0.06);
  font-size: 7px;
  letter-spacing: 0.06em;
}
.offline-row .mc2-row-state {
  color: #71879a;
  background: rgba(113, 135, 154, 0.05);
  border-color: rgba(113, 135, 154, 0.15);
}
.approval-row {
  border-color: rgba(255, 201, 75, 0.22);
}
.approval-row::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  content: "";
  background: var(--mc2-yellow);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 201, 75, 0.4);
}
.mc2-count-badge {
  min-width: 23px;
  color: var(--mc2-yellow);
  text-align: center;
  background: rgba(255, 201, 75, 0.06);
  border-color: rgba(255, 201, 75, 0.18);
}
.mc2-text-button {
  padding: 4px 7px;
  color: #6d9dbd;
  background: transparent;
  border-color: transparent;
  font-size: 8px;
}
.mc2-text-button:hover:not(:disabled) {
  color: var(--mc2-cyan);
  background: rgba(57, 216, 255, 0.05);
  border-color: rgba(57, 216, 255, 0.14);
}
.mc2-workspace-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 5px 1px 10px;
  color: #55738c;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.mc2-workspace-label::after {
  height: 1px;
  flex: 1;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(39, 70, 95, 0.78),
      transparent);
}
.mc2-workspace-label small {
  color: #405e75;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: normal;
}
#terminal-panel:not([hidden]) + #terminal-idle {
  display: none;
}
.mc2-search:focus-within {
  border-color: rgba(57, 216, 255, 0.46);
  box-shadow: 0 0 0 3px rgba(57, 216, 255, 0.05);
}
#operator-username {
  text-transform: none;
}
@media (max-width: 950px) {
  .mc2-overview-grid {
    grid-template-columns: 1fr;
  }
  .mc2-overview-card {
    min-height: auto;
  }
}
.mc2-mobile-pantheon {
  display: none;
}
@media (max-width: 850px) {
  .mc2-mobile-pantheon {
    display: block;
  }
  #mobile-profiles {
    max-height: 260px;
    margin-top: 7px;
    overflow: auto;
  }
  #mobile-profiles .profile-row {
    min-height: 35px;
  }
  #mobile-profiles .profile {
    font-size: 11px;
  }
  #mobile-profiles .details-button {
    min-width: 28px;
    min-height: 28px;
  }
}
.mc2-panel,
.mc2-kpi {
  border-color: rgba(40, 72, 102, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.mc2-kpi {
  min-height: 108px;
  padding: 16px;
}
.mc2-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-size: 17px;
}
.mc2-kpi span {
  font-size: 10px;
}
.mc2-kpi strong {
  font-size: 25px;
}
.mc2-kpi small {
  font-size: 9px;
}
.mc2-overview-card {
  min-height: 290px;
}
.mc2-overview-list {
  gap: 9px;
}
.mc2-overview-row {
  padding: 11px 12px;
  border-radius: 9px;
}
.mc2-overview-copy strong {
  font-size: 11px;
}
.mc2-overview-copy small {
  font-size: 9px;
}
.mc2-sidebar {
  isolation: isolate;
}
.mc2-sidebar::after {
  position: absolute;
  bottom: 70px;
  left: -170px;
  z-index: -1;
  width: 430px;
  height: 430px;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(
      circle at 60% 32%,
      rgba(89, 165, 255, 0.18),
      rgba(19, 64, 109, 0.18) 28%,
      rgba(4, 22, 39, 0.24) 48%,
      transparent 69%);
  border: 1px solid rgba(85, 167, 240, 0.13);
  border-radius: 50%;
  box-shadow: 40px -20px 80px rgba(34, 112, 183, 0.1), inset 22px -25px 70px rgba(2, 9, 17, 0.7);
}
.mc2-ai-hero {
  position: relative;
  min-height: 118px;
  flex: 0 0 118px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(91, 151, 224, 0.2) 0 1px,
      transparent 2px),
    radial-gradient(
      circle at 69% 32%,
      rgba(129, 180, 237, 0.15) 0 1px,
      transparent 2px),
    radial-gradient(
      circle at 92% 52%,
      rgba(89, 148, 220, 0.13) 0 1px,
      transparent 2px),
    linear-gradient(
      120deg,
      #0a1d32 0%,
      #122846 60%,
      #172e52 100%);
  border-bottom: 1px solid #24415e;
}
.mc2-ai-hero::before {
  position: absolute;
  right: -16px;
  bottom: -1px;
  width: 68%;
  height: 72%;
  content: "";
  background:
    linear-gradient(
      155deg,
      rgba(65, 104, 150, 0.25),
      rgba(8, 24, 43, 0.94));
  clip-path: polygon(0 100%, 14% 73%, 27% 78%, 42% 48%, 54% 63%, 69% 28%, 79% 39%, 92% 11%, 100% 21%, 100% 100%);
}
.mc2-ai-hero::after {
  position: absolute;
  top: 25px;
  left: 20px;
  z-index: 2;
  content: "Small steps.\a Bigger worlds.\a\aMISSION CONTROL 2";
  color: #f1f7ff;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.3;
  white-space: pre;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}
.mc2-ai-orb,
.mc2-ai-hero > div:nth-child(2) {
  opacity: 0;
  pointer-events: none;
}
.mc2-ai-hero .mc2-online-dot {
  top: 18px;
  right: 18px;
  z-index: 3;
}
.mc2-assistant-panel {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  padding: 17px;
  background:
    linear-gradient(
      180deg,
      rgba(12, 27, 47, 0.98),
      rgba(6, 18, 31, 0.99));
}
.mc2-profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-height: 210px;
  margin-top: 12px;
  overflow: auto;
}
.mc2-profile-list .profile-row {
  min-width: 0;
  padding: 5px 6px;
  background: rgba(7, 22, 37, 0.66);
  border: 1px solid rgba(32, 61, 86, 0.7);
  border-radius: 7px;
}
.mc2-profile-list .profile {
  min-width: 0;
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc2-profile-list .status {
  font-size: 7px;
}
.mc2-terminal-dock {
  min-height: 300px;
  flex: 0 0 330px;
  border-top: 1px solid #223c56;
}
.mc2-terminal-idle {
  min-height: 195px;
}
@media (min-width: 1181px) {
  .mc2-command-center .mobile-toggle {
    display: none !important;
  }
  .mc2-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 238px;
    z-index: 50;
    grid-template-columns: minmax(330px, 1fr) minmax(330px, 430px) auto;
    width: auto;
    height: 78px;
    padding: 0 20px 0 22px;
    background:
      linear-gradient(
        90deg,
        rgba(6, 18, 31, 0.98),
        rgba(13, 31, 54, 0.98));
    border-bottom: 1px solid #213b56;
    backdrop-filter: blur(18px);
  }
  .mc2-topbar-title {
    display: grid;
    gap: 3px;
    min-width: 0;
  }
  .mc2-topbar-title strong {
    overflow: hidden;
    color: #f0f6ff;
    font-size: 19px;
    font-weight: 720;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mc2-topbar-title small {
    color: #8da6be;
    font-size: 10px;
    letter-spacing: 0;
    text-transform: none;
  }
  .mc2-refresh-button {
    color: #84a7c3;
    background: transparent;
    border-color: #1f3c55;
  }
  .mc2-stage {
    box-sizing: border-box;
    padding-top: 78px;
  }
  .mc2-main {
    height: calc(100dvh - 78px);
    padding: 18px 20px 26px;
  }
  .mc2-dashboard-heading {
    display: none;
  }
  .mc2-right-rail {
    box-sizing: border-box;
    padding-top: 78px;
  }
}
@media (min-width: 1181px) and (max-width: 1420px) {
  .mc2-topbar {
    left: 220px;
  }
}
@media (min-width: 851px) {
  .mc2-sidebar-dynamic {
    display: none;
  }
}
@media (max-width: 850px) {
  .mc2-sidebar-dynamic {
    display: block;
  }
}
.mc2-network-state {
  padding: 12px;
  background:
    linear-gradient(
      145deg,
      rgba(11, 31, 50, 0.9),
      rgba(6, 21, 35, 0.9));
  border: 1px solid rgba(42, 78, 107, 0.85);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 8px 24px rgba(0, 0, 0, 0.18);
}
.mc2-build-meta {
  padding: 0 8px;
}
@media (min-width: 1181px) {
  .mc2-overview-card {
    min-height: 340px;
  }
  .mc2-overview-grid {
    gap: 14px;
    margin-bottom: 20px;
  }
}
.mc2-overview-card {
  display: flex;
  flex-direction: column;
}
.mc2-overview-card .mc2-overview-list {
  flex: 1;
}
.mc2-card-footer-action {
  width: 100%;
  min-height: 39px;
  margin-top: 12px;
  color: #b9d8ed;
  background:
    linear-gradient(
      180deg,
      rgba(16, 43, 67, 0.88),
      rgba(10, 31, 50, 0.94));
  border: 1px solid rgba(42, 78, 107, 0.9);
  font-size: 10px;
  text-align: center;
}
.mc2-card-footer-action:hover:not(:disabled) {
  color: #e4f9ff;
  background:
    linear-gradient(
      180deg,
      rgba(22, 59, 89, 0.96),
      rgba(12, 39, 61, 0.98));
  border-color: rgba(57, 216, 255, 0.4);
}
@media (min-width: 1300px) {
  .mc2-topbar {
    grid-template-columns: minmax(410px, 1fr) minmax(300px, 390px) auto;
    gap: 14px;
  }
  .mc2-topbar-title strong {
    overflow: visible;
    text-overflow: clip;
  }
}
.mc2-overview-row {
  min-height: 49px;
}
.mc2-overview-copy strong {
  color: #e3eef9;
  font-weight: 660;
}
.mc2-overview-copy small {
  color: #6e899f;
}
.mc2-workspace-label {
  margin-top: 18px;
  opacity: 0.78;
}
.mc2-assistant-panel {
  overflow: auto;
}
.mc2-assistant-summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  margin: 12px 0;
  padding: 12px;
  background:
    linear-gradient(
      145deg,
      rgba(19, 42, 69, 0.92),
      rgba(10, 28, 47, 0.94));
  border: 1px solid rgba(47, 83, 117, 0.88);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 8px 24px rgba(0, 0, 0, 0.14);
}
.mc2-assistant-summary-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #9e8cff;
  background:
    radial-gradient(
      circle,
      rgba(158, 140, 255, 0.18),
      rgba(74, 72, 155, 0.1));
  border: 1px solid rgba(169, 124, 255, 0.35);
  border-radius: 50%;
  font-size: 16px;
  box-shadow: 0 0 18px rgba(169, 124, 255, 0.08);
}
.mc2-assistant-summary strong {
  display: block;
  margin-bottom: 4px;
  color: #edf6ff;
  font-size: 10px;
}
.mc2-assistant-summary p {
  margin: 0;
  color: #9eb4c9;
  font-size: 9px;
  line-height: 1.55;
}
.mc2-assistant-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 10px;
}
.mc2-assistant-actions button {
  min-width: 0;
  padding: 8px 9px;
  color: #bdd4e7;
  background: rgba(9, 29, 48, 0.84);
  border-color: rgba(39, 75, 105, 0.9);
  font-size: 8px;
  white-space: nowrap;
}
.mc2-assistant-actions button:hover:not(:disabled) {
  color: #e8f9ff;
  background: rgba(17, 49, 76, 0.96);
  border-color: rgba(57, 216, 255, 0.34);
}
.mc2-assistant-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 7px;
  margin-bottom: 13px;
  padding: 5px;
  background: rgba(3, 12, 21, 0.78);
  border: 1px solid rgba(37, 72, 101, 0.92);
  border-radius: 8px;
}
.mc2-assistant-compose:focus-within {
  border-color: rgba(57, 216, 255, 0.48);
  box-shadow: 0 0 0 3px rgba(57, 216, 255, 0.05);
}
.mc2-assistant-compose input {
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 9px;
}
.mc2-assistant-compose button {
  width: 36px;
  height: 32px;
  padding: 0;
  color: #e8fbff;
  background:
    linear-gradient(
      180deg,
      rgba(25, 164, 202, 0.95),
      rgba(14, 111, 145, 0.98));
  border-color: rgba(57, 216, 255, 0.55);
  font-size: 15px;
}
.mc2-routing-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 3px 1px 8px;
  color: #738ea6;
}
.mc2-routing-heading span {
  color: #89a5bc;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.mc2-routing-heading small {
  color: #4f6c83;
  font-size: 7px;
}
.mc2-assistant-panel .route-options {
  margin-bottom: 8px;
}
.mc2-assistant-panel .route-options button {
  min-height: 34px;
  font-size: 9px;
}
.mc2-assistant-panel > .mc2-profile-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 116px;
  margin-top: 7px;
  padding-right: 2px;
}
.mc2-assistant-panel > .mc2-profile-list .profile-row {
  min-height: 34px;
  padding: 4px 5px;
}
.mc2-assistant-panel > .mc2-profile-list .profile {
  font-size: 8px;
}
.mc2-assistant-panel > .mc2-profile-list .status {
  font-size: 6px;
}
@media (min-width: 1181px) {
  .mc2-terminal-dock {
    min-height: 285px;
    flex-basis: 305px;
  }
}
.mc2-capability-heading {
  margin-top: 16px;
}
.mc2-capability-heading h3 {
  margin: 0 0 5px;
}
.mc2-capability-heading p {
  max-width: 680px;
  margin: 0;
  color: #718ba2;
  font-size: 9px;
  line-height: 1.5;
}
.mc2-capability-bulk {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.mc2-capability-bulk-button {
  min-height: 34px;
  padding: 7px 11px;
  color: #bcd4e7;
  background: rgba(11, 34, 54, 0.92);
  border: 1px solid rgba(44, 79, 107, 0.92);
  font-size: 9px;
}
.mc2-capability-bulk-button:hover:not(:disabled) {
  color: #ecfbff;
  border-color: rgba(57, 216, 255, 0.42);
}
.mc2-capability-disable-all:hover:not(:disabled) {
  color: #ffd8dd;
  border-color: rgba(255, 102, 125, 0.46);
}
.mc2-capability-list {
  display: grid;
  gap: 9px;
}
.mc2-capability-card {
  padding: 12px !important;
  background:
    linear-gradient(
      145deg,
      rgba(13, 36, 57, 0.96),
      rgba(7, 24, 40, 0.96)) !important;
  border: 1px solid rgba(40, 75, 103, 0.92) !important;
  border-radius: 9px;
  transition:
    opacity 120ms ease,
    border-color 120ms ease,
    background 120ms ease;
}
.mc2-capability-card.is-disabled {
  opacity: 0.68;
  background:
    linear-gradient(
      145deg,
      rgba(31, 28, 39, 0.92),
      rgba(18, 20, 29, 0.95)) !important;
  border-color: rgba(99, 71, 83, 0.72) !important;
}
.mc2-capability-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mc2-capability-identity {
  min-width: 0;
}
.mc2-capability-identity strong,
.mc2-capability-identity small {
  display: block;
}
.mc2-capability-identity strong {
  overflow: hidden;
  color: #e8f3fc;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc2-capability-identity small {
  margin-top: 3px;
  color: #718ca3;
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mc2-capability-card.is-disabled .mc2-capability-identity small {
  color: #b67b87;
}
.mc2-capability-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  cursor: pointer;
  user-select: none;
}
.mc2-capability-switch input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.mc2-capability-switch input:disabled {
  cursor: wait;
}
.mc2-capability-switch-track {
  position: relative;
  display: block;
  width: 34px;
  height: 18px;
  background: #273744;
  border: 1px solid #435664;
  border-radius: 999px;
  transition:
    background 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}
.mc2-capability-switch-track::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  content: "";
  background: #8293a0;
  border-radius: 50%;
  transition: transform 120ms ease, background 120ms ease;
}
.mc2-capability-switch input:checked + .mc2-capability-switch-track {
  background: rgba(23, 138, 113, 0.42);
  border-color: rgba(65, 219, 178, 0.62);
  box-shadow: 0 0 12px rgba(65, 219, 178, 0.08);
}
.mc2-capability-switch input:checked + .mc2-capability-switch-track::after {
  background: #66e3bd;
  transform: translateX(16px);
}
.mc2-capability-switch input:focus-visible + .mc2-capability-switch-track {
  outline: 2px solid rgba(57, 216, 255, 0.72);
  outline-offset: 2px;
}
.mc2-capability-switch input:disabled + .mc2-capability-switch-track {
  cursor: wait;
  opacity: 0.55;
}
.mc2-capability-switch-state {
  min-width: 22px;
  color: #657f94;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.mc2-capability-switch input:checked ~ .mc2-capability-switch-state {
  color: #64d9b5;
}
.mc2-capability-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.mc2-capability-fact {
  padding: 3px 6px;
  color: #839bad;
  background: rgba(3, 15, 25, 0.58);
  border: 1px solid rgba(35, 65, 87, 0.76);
  border-radius: 999px;
  font-size: 7px;
}
.mc2-capability-fact.is-positive {
  color: #78d9b8;
  border-color: rgba(63, 154, 123, 0.38);
}
.mc2-capability-fact.is-negative {
  color: #b67b87;
  border-color: rgba(155, 77, 92, 0.34);
}
.mc2-capability-authority {
  margin: 9px 0 0;
  color: #9bb2c5;
  font-size: 8px;
  font-weight: 650;
}
.mc2-capability-card.is-disabled .mc2-capability-authority {
  color: #c78893;
}
.mc2-capability-tools {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  color: #607c93;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  font-size: 7px;
  line-height: 1.45;
}
#details-dialog #details {
  max-height: min(72vh, 720px);
  overflow: auto;
}
@media (max-width: 640px) {
  .mc2-capability-header {
    align-items: flex-start;
  }
  .mc2-capability-bulk {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
:root {
  --mc2-readable-copy: 12px;
}
.mc2-nav-item {
  min-height: 42px;
  font-size: 13px;
}
.mc2-text-button {
  font-size: 11px;
}
.mc2-workspace-label {
  font-size: 11px;
  letter-spacing: 0.1em;
}
.mc2-workspace-label small {
  font-size: 11px;
  line-height: 1.45;
}
.mc2-kpi span {
  font-size: 12px;
}
.mc2-kpi strong {
  font-size: 28px;
}
.mc2-kpi small {
  font-size: 11px;
  line-height: 1.45;
}
.mc2-overview-copy strong {
  font-size: 13px;
}
.mc2-overview-copy small {
  font-size: 11px;
  line-height: 1.45;
}
.mc2-card-footer-action {
  min-height: 42px;
  font-size: 12px;
}
.mc2-topbar-title small {
  font-size: 12px;
}
.mc2-assistant-panel {
  padding: 18px;
}
.mc2-assistant-panel h2 {
  font-size: 17px;
}
.mc2-assistant-intro {
  font-size: 12px;
  line-height: 1.55;
}
.mc2-assistant-summary strong {
  font-size: 13px;
}
.mc2-assistant-summary p {
  font-size: var(--mc2-readable-copy);
  line-height: 1.55;
}
.mc2-assistant-actions button {
  min-height: 38px;
  padding: 9px 10px;
  font-size: 11px;
}
.mc2-assistant-compose input {
  height: 38px;
  font-size: 12px;
}
.mc2-assistant-compose button {
  height: 38px;
}
.mc2-routing-heading span {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.mc2-routing-heading small {
  font-size: 10px;
}
.mc2-assistant-panel .route-options button {
  min-height: 38px;
  font-size: 11px;
}
.mc2-assistant-panel > .mc2-profile-list {
  max-height: 150px;
  gap: 8px;
}
.mc2-assistant-panel > .mc2-profile-list .profile-row {
  min-height: 40px;
  padding: 6px 7px;
}
.mc2-assistant-panel > .mc2-profile-list .profile {
  font-size: 11px;
}
.mc2-assistant-panel > .mc2-profile-list .status {
  font-size: 10px;
}
#details-dialog {
  width: min(860px, 94vw);
}
#details-dialog #details {
  font-size: 14px;
  line-height: 1.5;
}
.mc2-capability-heading {
  margin-top: 20px;
}
.mc2-capability-heading h3 {
  margin-bottom: 7px;
  font-size: 15px;
}
.mc2-capability-heading p {
  max-width: 720px;
  color: #91a9bd;
  font-size: 13px;
  line-height: 1.55;
}
.mc2-capability-bulk {
  gap: 10px;
  margin: 15px 0;
}
.mc2-capability-bulk-button {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 12px;
}
.mc2-capability-list {
  gap: 14px;
}
.mc2-capability-card {
  padding: 16px !important;
  border-radius: 11px;
}
.mc2-capability-header {
  gap: 16px;
}
.mc2-capability-identity strong {
  font-size: 15px;
}
.mc2-capability-identity small {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: none;
}
.mc2-capability-switch {
  gap: 9px;
}
.mc2-capability-switch-track {
  width: 40px;
  height: 22px;
}
.mc2-capability-switch-track::after {
  width: 16px;
  height: 16px;
}
.mc2-capability-switch input:checked + .mc2-capability-switch-track::after {
  transform: translateX(18px);
}
.mc2-capability-switch-state {
  min-width: 28px;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.mc2-capability-facts {
  gap: 7px;
  margin-top: 13px;
}
.mc2-capability-fact {
  padding: 4px 8px;
  font-size: 10px;
}
.mc2-capability-authority {
  margin-top: 13px;
  color: #c3d5e4;
  font-size: 13px;
  line-height: 1.45;
}
.mc2-capability-card.is-disabled .mc2-capability-authority {
  color: #d99aa6;
}
.mc2-capability-tools {
  margin-top: 9px;
  color: #849db1;
  font-size: 11px;
  line-height: 1.5;
}
.message {
  font-size: 14px;
  line-height: 1.6;
}
.message small,
.message .meta {
  font-size: 11px;
}
@media (max-width: 850px) {
  #mobile-profiles .profile {
    font-size: 12px;
  }
  .mc2-capability-bulk {
    grid-template-columns: 1fr;
  }
  .mc2-capability-bulk-button {
    width: 100%;
  }
}
.mc2-search input {
  color: #c7d8e8;
  font-size: 13px;
}
.mc2-search input::placeholder {
  color: #7e99b0;
  opacity: 1;
}
.mc2-search kbd {
  font-size: 11px;
}
.mc2-user-copy small {
  font-size: 11px;
}
.mc2-dashboard-heading > div:first-child > p:last-child {
  font-size: 13px;
  line-height: 1.45;
}
.mc2-eyebrow,
.mc2-panel-kicker {
  font-size: 10px;
}
.mc2-panel-heading > small {
  font-size: 11px;
}
.mc2-kpi {
  min-height: 76px;
  padding: 12px 14px;
}
.mc2-kpi span,
.mc2-kpi small {
  font-size: 11px;
}
.mc2-overview-card {
  min-height: 0;
}
.mc2-overview-grid {
  align-items: start;
}
.mc2-panel-wide {
  min-height: 500px;
}
.mc2-message-feed .message p {
  font-size: 13px;
}
.mc2-main #draft {
  font-size: 13px;
}
.mc2-profile-list .profile,
.mc2-assistant-panel > .mc2-profile-list .profile {
  font-size: 12px;
}
.mc2-profile-list .status,
.mc2-assistant-panel > .mc2-profile-list .status {
  font-size: 11px;
}
.mc2-workspace-panel {
  border-color: rgba(57, 216, 255, 0.42);
  background:
    linear-gradient(
      145deg,
      rgba(11, 32, 50, 0.99),
      rgba(6, 20, 34, 0.99));
  box-shadow: 0 0 0 1px rgba(57, 216, 255, 0.06), 0 14px 34px rgba(0, 0, 0, 0.28);
}
.mc2-workspace-panel #mission-name {
  font-size: 20px;
}
#control-status {
  margin: 10px 0 13px;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.4;
  background: rgba(5, 18, 30, 0.58);
  border-left: 3px solid rgba(57, 216, 255, 0.56);
  border-radius: 5px;
}
.mc2-main .control-actions {
  gap: 7px;
}
.mc2-main .control-actions button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 12px;
}
.mc2-workspace-label {
  margin: 16px 0 10px;
}
.mc2-dashboard-grid {
  margin-bottom: 20px;
}
.mc2-overview-grid {
  align-items: start;
  margin-bottom: 18px;
}
.mc2-overview-card {
  min-height: 0;
}
.mc2-overview-card .mc2-overview-list {
  flex: 0 1 auto;
}
.attachment-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 8px;
  border-radius: 6px;
}
.attachment-label:hover {
  color: #e4f9ff;
  background: rgba(57, 216, 255, 0.07);
}
.attachment-label:focus-within {
  outline: 2px solid #7bd9df;
  outline-offset: 2px;
}
.attachment-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.mc2-terminal-dock {
  flex: 0 0 330px;
  min-height: 300px;
}
.mc2-assistant-panel {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
}
.mc2-assistant-panel > .mc2-profile-list {
  grid-template-columns: 1fr;
  max-height: 190px;
  gap: 7px;
}
.mc2-assistant-panel > .mc2-profile-list .profile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  min-height: 38px;
  gap: 7px;
  padding: 4px 6px;
}
.mc2-assistant-panel > .mc2-profile-list .profile {
  min-width: 0;
  overflow: visible;
  font-size: 12px;
  text-overflow: clip;
  white-space: nowrap;
}
.mc2-assistant-panel > .mc2-profile-list .status {
  font-size: 11px;
  white-space: nowrap;
}
.mc2-assistant-panel > .mc2-profile-list .profile[aria-pressed=true] {
  color: #effcff;
  background:
    linear-gradient(
      180deg,
      rgba(18, 109, 135, 0.92),
      rgba(11, 69, 89, 0.96));
  border-color: rgba(57, 216, 255, 0.62);
  box-shadow: 0 0 0 1px rgba(57, 216, 255, 0.08), 0 0 18px rgba(57, 216, 255, 0.1);
}
@media (min-width: 851px) and (max-height: 850px) {
  .mc2-terminal-dock {
    flex-basis: 290px;
    min-height: 270px;
  }
}
.mc2-terminal-title-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mc2-terminal-popout {
  min-height: 30px;
  padding: 5px 9px;
  color: #a9cde3;
  background: rgba(10, 32, 50, 0.94);
  border: 1px solid rgba(54, 94, 124, 0.92);
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
}
.mc2-terminal-popout:hover {
  color: #effcff;
  background: rgba(16, 55, 75, 0.98);
  border-color: rgba(57, 216, 255, 0.55);
}
.mc2-terminal-popout[aria-pressed=true] {
  color: #effcff;
  background: rgba(13, 81, 104, 0.98);
  border-color: rgba(57, 216, 255, 0.72);
}
body.mc2-terminal-window {
  width: 100vw;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  color: #dce8f1;
  background:
    radial-gradient(
      circle at top right,
      rgba(14, 69, 92, 0.24),
      transparent 34%),
    #06111c;
}
.mc2-terminal-window-shell {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 12px;
}
.mc2-terminal-window-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: rgba(7, 24, 39, 0.96);
  border: 1px solid rgba(45, 82, 108, 0.88);
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.mc2-terminal-window-header > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.mc2-terminal-window-header small {
  color: #4f829f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.mc2-terminal-window-header strong {
  color: #e8f6ff;
  font-size: 16px;
  line-height: 1.2;
}
#mc2-popup-terminal-status {
  color: #7f9db2;
  font-size: 11px;
  line-height: 1.25;
}
#mc2-popup-close {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 5px 11px;
  color: #b9cedd;
  background: rgba(11, 31, 48, 0.94);
  border: 1px solid rgba(53, 88, 113, 0.88);
  border-radius: 6px;
  font-size: 11px;
}
#mc2-popup-close:hover {
  color: #f0fbff;
  background: rgba(16, 49, 69, 0.98);
  border-color: rgba(57, 216, 255, 0.48);
}
.mc2-terminal-window-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #101821;
  border: 1px solid rgba(43, 77, 101, 0.9);
  border-radius: 9px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.018);
}
#mc2-popup-terminal {
  box-sizing: border-box;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 10px;
}
#mc2-popup-terminal .xterm {
  width: 100%;
  height: 100%;
}
#mc2-popup-terminal .xterm-viewport,
#mc2-popup-terminal .xterm-screen {
  width: 100% !important;
}
#mc2-popup-terminal-idle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #718da1;
  font-size: 13px;
  text-align: center;
}
#mc2-popup-terminal[hidden],
#mc2-popup-terminal-idle[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .mc2-terminal-window-shell {
    padding: 7px;
  }
  .mc2-terminal-window-header {
    min-height: 48px;
    margin-bottom: 7px;
    padding: 8px 9px;
  }
  #mc2-popup-terminal {
    padding: 7px;
  }
}
.mc2-sidebar-pantheon {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(42, 72, 96, 0.62);
}
.mc2-sidebar-pantheon .section-heading {
  flex: 0 0 auto;
  margin-bottom: 8px;
}
.mc2-sidebar-pantheon .section-heading > div {
  min-width: 0;
}
.mc2-sidebar-pantheon .section-heading h3 {
  margin: 0;
  color: #dcebf6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.mc2-sidebar-pantheon .section-heading small {
  display: block;
  margin-top: 3px;
  color: #66849b;
  font-size: 10px;
  line-height: 1.3;
}
.mc2-sidebar-pantheon .mc2-profile-list {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 6px;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0 3px 2px 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.mc2-sidebar-pantheon .profile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  width: 100%;
  min-height: 40px;
  gap: 6px;
  padding: 4px 5px;
  background: rgba(7, 24, 39, 0.7);
  border: 1px solid rgba(36, 65, 88, 0.78);
  border-radius: 8px;
  transition:
    background 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}
.mc2-sidebar-pantheon .profile-row:hover {
  background: rgba(11, 35, 54, 0.9);
  border-color: rgba(62, 101, 130, 0.9);
}
.mc2-sidebar-pantheon .profile {
  min-width: 0;
  width: 100%;
  overflow: visible;
  padding: 7px 7px;
  color: #c4d7e6;
  background: transparent;
  border-color: transparent;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  text-overflow: clip;
  white-space: nowrap;
}
.mc2-sidebar-pantheon .profile:hover {
  color: #effbff;
}
.mc2-sidebar-pantheon .status {
  color: #69c9a0;
  font-size: 10px;
  white-space: nowrap;
}
.mc2-sidebar-pantheon .details-button {
  display: grid;
  place-items: center;
  min-width: 28px;
  width: 28px;
  min-height: 28px;
  height: 28px;
  padding: 0;
  color: #7996ad;
  font-size: 11px;
  border-radius: 6px;
}
.mc2-sidebar-pantheon .details-button:hover {
  color: #e9f8ff;
  background: rgba(57, 216, 255, 0.08);
  border-color: rgba(57, 216, 255, 0.32);
}
.mc2-sidebar-pantheon .profile[aria-pressed=true] {
  color: #f1fdff;
  background:
    linear-gradient(
      180deg,
      rgba(18, 109, 135, 0.96),
      rgba(10, 67, 87, 0.98));
  border-color: rgba(57, 216, 255, 0.68);
  box-shadow: 0 0 0 1px rgba(57, 216, 255, 0.08), 0 0 16px rgba(57, 216, 255, 0.12);
}
.mc2-sidebar-pantheon .profile-row:has(.profile[aria-pressed=true]) {
  border-color: rgba(57, 216, 255, 0.44);
  background: rgba(10, 42, 59, 0.94);
}
.mc2-sidebar-footer {
  flex: 0 0 auto;
}
@media (max-width: 850px) {
  .mc2-sidebar-pantheon {
    display: none;
  }
}
/*! Bundled license information:

@xterm/xterm/css/xterm.css:
  (**
   * Copyright (c) 2014 The xterm.js authors. All rights reserved.
   * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
   * https://github.com/chjj/term.js
   * @license MIT
   *
   * Permission is hereby granted, free of charge, to any person obtaining a copy
   * of this software and associated documentation files (the "Software"), to deal
   * in the Software without restriction, including without limitation the rights
   * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   * copies of the Software, and to permit persons to whom the Software is
   * furnished to do so, subject to the following conditions:
   *
   * The above copyright notice and this permission notice shall be included in
   * all copies or substantial portions of the Software.
   *
   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   * THE SOFTWARE.
   *
   * Originally forked from (with the author's permission):
   *   Fabrice Bellard's javascript vt100 for jslinux:
   *   http://bellard.org/jslinux/
   *   Copyright (c) 2011 Fabrice Bellard
   *   The original design remains. The terminal itself
   *   has been extended to include xterm CSI codes, among
   *   other features.
   *)
*/
