/* [project]/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) 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-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-font-weight: 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: -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-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-400: #ff6568;
    --color-red-500: #fb2c36;
    --color-amber-300: #ffd236;
    --color-amber-500: #f99c00;
    --color-yellow-400: #fac800;
    --color-yellow-500: #edb200;
    --color-green-400: #05df72;
    --color-green-500: #00c758;
    --color-cyan-300: #53eafd;
    --color-cyan-400: #00d2ef;
    --color-cyan-500: #00b7d7;
    --color-gray-300: #d1d5dc;
    --color-gray-400: #99a1af;
    --color-gray-500: #6a7282;
    --color-gray-600: #4a5565;
    --color-white: #fff;
    --spacing: .25rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --radius-2xl: 1rem;
    --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);
  }

  @supports (color: lab(0% 0 0)) {
    :root, :host {
      --color-red-400: lab(63.7053% 60.7449 31.3109);
      --color-red-500: lab(55.4814% 75.0732 48.8528);
      --color-amber-300: lab(86.4156% 6.13147 78.3961);
      --color-amber-500: lab(72.7183% 31.8672 97.9407);
      --color-yellow-400: lab(83.2664% 8.65132 106.895);
      --color-yellow-500: lab(76.3898% 14.5258 98.4589);
      --color-green-400: lab(78.503% -64.9265 39.7492);
      --color-green-500: lab(70.5521% -66.5147 45.8072);
      --color-cyan-300: lab(85.3886% -36.7635 -21.5717);
      --color-cyan-400: lab(76.6045% -40.9406 -29.6231);
      --color-cyan-500: lab(67.805% -35.3952 -30.2018);
      --color-gray-300: lab(85.1236% -.612259 -3.7138);
      --color-gray-400: lab(65.9269% -.832707 -8.17474);
      --color-gray-500: lab(47.7841% -.393212 -10.0268);
      --color-gray-600: lab(35.6337% -1.58697 -10.8425);
    }
  }
}

@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;
  }

  .invisible {
    visibility: hidden;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .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;
    }
  }

  .mt-1 {
    margin-top: var(--spacing);
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }

  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }

  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }

  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }

  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }

  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }

  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

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

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

  .table {
    display: table;
  }

  .min-h-64 {
    min-height: calc(var(--spacing) * 64);
  }

  .min-h-screen {
    min-height: 100vh;
  }

  .w-full {
    width: 100%;
  }

  .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;
  }

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

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

  .flex-col {
    flex-direction: column;
  }

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

  .items-center {
    align-items: center;
  }

  .justify-between {
    justify-content: space-between;
  }

  .justify-center {
    justify-content: center;
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }

  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
  }

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

  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }

  .rounded-full {
    border-radius: 3.40282e38px;
  }

  .rounded-lg {
    border-radius: var(--radius-lg);
  }

  .rounded-xl {
    border-radius: var(--radius-xl);
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }

  .border-amber-500\/30 {
    border-color: #f99c004d;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-amber-500\/30 {
      border-color: color-mix(in oklab, var(--color-amber-500) 30%, transparent);
    }
  }

  .border-cyan-400\/20 {
    border-color: #00d2ef33;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-cyan-400\/20 {
      border-color: color-mix(in oklab, var(--color-cyan-400) 20%, transparent);
    }
  }

  .border-cyan-500\/20 {
    border-color: #00b7d733;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-cyan-500\/20 {
      border-color: color-mix(in oklab, var(--color-cyan-500) 20%, transparent);
    }
  }

  .border-white\/10 {
    border-color: #ffffff1a;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .border-white\/10 {
      border-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }

  .bg-\[\#0b1220\] {
    background-color: #0b1220;
  }

  .bg-\[\#090d16\] {
    background-color: #090d16;
  }

  .bg-\[\#101a2b\] {
    background-color: #101a2b;
  }

  .bg-\[\#111827\] {
    background-color: #111827;
  }

  .bg-amber-500\/10 {
    background-color: #f99c001a;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-amber-500\/10 {
      background-color: color-mix(in oklab, var(--color-amber-500) 10%, transparent);
    }
  }

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

  .bg-cyan-500\/10 {
    background-color: #00b7d71a;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-cyan-500\/10 {
      background-color: color-mix(in oklab, var(--color-cyan-500) 10%, transparent);
    }
  }

  .bg-green-500\/10 {
    background-color: #00c7581a;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-green-500\/10 {
      background-color: color-mix(in oklab, var(--color-green-500) 10%, transparent);
    }
  }

  .bg-red-500\/10 {
    background-color: #fb2c361a;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-red-500\/10 {
      background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);
    }
  }

  .bg-yellow-500\/10 {
    background-color: #edb2001a;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-yellow-500\/10 {
      background-color: color-mix(in oklab, var(--color-yellow-500) 10%, transparent);
    }
  }

  .p-3 {
    padding: calc(var(--spacing) * 3);
  }

  .p-5 {
    padding: calc(var(--spacing) * 5);
  }

  .p-6 {
    padding: calc(var(--spacing) * 6);
  }

  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }

  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }

  .py-1 {
    padding-block: var(--spacing);
  }

  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }

  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }

  .text-center {
    text-align: center;
  }

  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }

  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }

  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }

  .text-\[\#07111c\] {
    color: #07111c;
  }

  .text-amber-300 {
    color: var(--color-amber-300);
  }

  .text-cyan-300 {
    color: var(--color-cyan-300);
  }

  .text-cyan-400 {
    color: var(--color-cyan-400);
  }

  .text-gray-300 {
    color: var(--color-gray-300);
  }

  .text-gray-400 {
    color: var(--color-gray-400);
  }

  .text-gray-500 {
    color: var(--color-gray-500);
  }

  .text-gray-600 {
    color: var(--color-gray-600);
  }

  .text-green-400 {
    color: var(--color-green-400);
  }

  .text-red-400 {
    color: var(--color-red-400);
  }

  .text-white {
    color: var(--color-white);
  }

  .text-yellow-400 {
    color: var(--color-yellow-400);
  }

  .capitalize {
    text-transform: capitalize;
  }

  .italic {
    font-style: italic;
  }

  .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);
  }

  .blur {
    --tw-blur: blur(8px);
    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, );
  }

  .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));
  }

  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }

  @media (hover: hover) {
    .hover\:bg-cyan-400:hover {
      background-color: var(--color-cyan-400);
    }

    .hover\:bg-cyan-500\/20:hover {
      background-color: #00b7d733;
    }

    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-cyan-500\/20:hover {
        background-color: color-mix(in oklab, var(--color-cyan-500) 20%, transparent);
      }
    }

    .hover\:bg-red-500\/20:hover {
      background-color: #fb2c3633;
    }

    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-red-500\/20:hover {
        background-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);
      }
    }

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

  .focus\:border-cyan-400:focus {
    border-color: var(--color-cyan-400);
  }

  @media (min-width: 40rem) {
    .sm\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (min-width: 48rem) {
    .md\:p-8 {
      padding: calc(var(--spacing) * 8);
    }
  }

  @media (min-width: 80rem) {
    .xl\:col-span-2 {
      grid-column: span 2 / span 2;
    }

    .xl\:col-span-3 {
      grid-column: span 3 / span 3;
    }

    .xl\:grid-cols-5 {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
}

:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #0b1019;
  --panel: #111a29;
  --border: #253247;
  --muted: #8797ae;
  --text: #e7edf6;
  --blue: #3986ff;
  --green: #42d5a4;
  --red: #ff7285;
  --amber: #e9ba6a;
}

* {
  box-sizing: border-box;
}

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

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

button:focus-visible, input:focus-visible, select:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #6eabff;
}

h1, h2, p {
  margin: 0;
}

h1 {
  letter-spacing: -.75px;
  font-size: 27px;
  font-weight: 650;
}

h2 {
  font-size: 15px;
  font-weight: 650;
}

small {
  font-size: 12px;
}

.mono, td, .metric strong {
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: Consolas, monospace;
}

.positive {
  color: var(--green) !important;
}

.negative {
  color: var(--red) !important;
}

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

.workspace {
  grid-template-columns: 228px minmax(0, 1fr);
  max-width: none;
  min-height: 100vh;
  display: grid;
}

.sidebar {
  border-right: 1px solid var(--border);
  background: #0e1623;
  flex-direction: column;
  height: 100vh;
  padding: 20px 13px;
  display: flex;
  position: sticky;
  top: 0;
}

.brand {
  align-items: center;
  gap: 11px;
  padding: 1px 9px 29px;
  display: flex;
}

.brand-mark {
  color: #fff;
  background: #2869ce;
  border-radius: 10px;
  place-items: center;
  width: 37px;
  height: 37px;
  display: grid;
}

.brand strong {
  letter-spacing: -.4px;
  font-size: 18px;
}

.brand small {
  letter-spacing: 1.4px;
  color: #89a3c8;
  margin-top: 3px;
  font-size: 9px;
  display: block;
}

.nav-caption, .eyebrow {
  letter-spacing: 1.5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.nav-caption {
  padding: 0 10px 10px;
}

.nav {
  text-align: left;
  color: #adbbcf;
  background: none;
  border: 1px solid #0000;
  border-radius: 7px;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 3px;
  padding: 11px 10px;
  font-size: 13px;
  display: flex;
}

.nav span {
  flex: 1;
}

.nav:hover {
  color: #fff;
  background: #19263a;
}

.nav.active {
  color: #8ebaff;
  background: #182d4d;
  border-color: #294a7b;
}

.sidebar-bottom {
  margin-top: auto;
}

.small-status {
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  display: flex;
}

.small-status b {
  color: var(--text);
  font-size: 12px;
  display: block;
}

.small-status small {
  font-size: 10px;
}

.main {
  min-width: 0;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: #0e1623;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 62px;
  padding: 0 28px;
  display: flex;
}

.breadcrumbs, .top-status, .heading-actions, .actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

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

.breadcrumbs b {
  color: var(--text);
  font-weight: 500;
}

.status-dot {
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.tag {
  letter-spacing: .65px;
  color: #a8b9d0;
  white-space: nowrap;
  border: 1px solid #34445b;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
}

.content {
  max-width: 1900px;
  margin: auto;
  padding: 26px 28px;
}

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

.eyebrow {
  margin-bottom: 5px;
}

.safety-note, .alert {
  color: var(--amber);
  background: #231f1b;
  border: 1px solid #55452e;
  border-radius: 7px;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px 13px;
  font-size: 12px;
  display: flex;
}

.alert {
  background: var(--panel);
  border-color: var(--border);
}

.segmented {
  border: 1px solid var(--border);
  background: #0a111d;
  border-radius: 7px;
  gap: 2px;
  padding: 3px;
  display: flex;
}

.segmented button {
  color: var(--muted);
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 650;
}

.segmented button.selected {
  color: #c9e0ff;
  background: #23446e;
}

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

.metric, .panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 0;
}

.metric {
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  display: flex;
  position: relative;
}

.metric > svg {
  color: #648bc3;
  position: absolute;
  top: 15px;
  right: 15px;
}

.metric > span {
  color: #a4b2c5;
  padding-right: 25px;
  font-size: 12px;
}

.metric strong {
  letter-spacing: -.5px;
  overflow-wrap: anywhere;
  font-size: 25px;
  font-weight: 650;
}

.metric small {
  color: var(--muted);
  font-size: 11px;
}

.dashboard-grid, .terminal-grid {
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 15px;
  margin-bottom: 15px;
  display: grid;
}

.panel {
  margin-bottom: 15px;
  overflow: hidden;
}

.dashboard-grid .panel, .terminal-grid .panel {
  margin-bottom: 0;
}

.panel-head {
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  display: flex;
}

.panel-head p {
  color: var(--muted);
  margin-top: 5px;
  font-size: 12px;
}

.panel-body {
  padding: 18px;
}

.panel-body p {
  color: var(--muted);
  margin: 10px 0 15px;
  font-size: 13px;
  line-height: 1.6;
}

.primary, .secondary, .status-button {
  white-space: nowrap;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.primary {
  color: #fff;
  background: #2869d6;
  border: 1px solid #438cfd;
}

.primary:hover {
  background: #367be9;
}

.secondary, .status-button {
  color: #c7d3e3;
  background: #182437;
  border: 1px solid #35445a;
}

.secondary:hover, .status-button:hover {
  background: #243550;
}

.quick .primary {
  width: 100%;
  margin-top: 5px;
}

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

table {
  border-collapse: collapse;
  white-space: nowrap;
  text-align: left;
  width: 100%;
  font-size: 12px;
}

th {
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--muted);
  background: #0d1522;
  font-size: 10px;
  font-weight: 600;
}

th, td {
  border-bottom: 1px solid #202e41;
  padding: 12px 15px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #172338;
}

td.empty {
  text-align: center;
  color: var(--muted);
  white-space: normal;
  padding: 36px 12px;
}

.text-link {
  color: #83b8ff;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
}

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

.strategy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  display: grid;
}

.strategy {
  border: 1px solid var(--border);
  background: #101827;
  border-radius: 7px;
  flex-direction: column;
  gap: 9px;
  padding: 15px;
  display: flex;
}

.strategy svg {
  color: #83b8ff;
}

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

.connection {
  max-width: 760px;
}

label {
  color: #adbdd1;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}

input, select {
  color: var(--text);
  background: #0c1421;
  border: 1px solid #34445b;
  border-radius: 6px;
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
}

.symbol-form {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  display: flex;
}

.symbol-form input {
  width: 115px;
  font-family: Consolas, monospace;
}

.tf-select {
  max-width: 100%;
  overflow-x: auto;
}

.analysis-buttons {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.analysis-buttons .secondary {
  justify-content: space-between;
}

.analysis-result strong {
  font-size: 24px;
}

.bot-form {
  border-bottom: 1px solid var(--border);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 14px;
  padding: 20px;
  display: grid;
}

.form-footer {
  color: var(--muted);
  grid-column: 1 / -1;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

footer {
  color: #6e819d;
  margin: 28px 0 0;
  font-size: 11px;
}

.auth-loading {
  height: 100vh;
  color: var(--muted);
  place-items: center;
  display: grid;
}

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

.auth-intro {
  border-right: 1px solid var(--border);
  background: #101c2e;
  flex-direction: column;
  justify-content: center;
  gap: 23px;
  padding: 9vw;
  display: flex;
}

.auth-intro h1 {
  max-width: 400px;
  font-size: 38px;
  line-height: 1.15;
}

.auth-intro p {
  color: var(--muted);
  max-width: 440px;
  line-height: 1.7;
}

.auth-form-area {
  place-items: center;
  padding: 28px;
  display: grid;
}

.auth-form {
  width: min(420px, 100%);
  padding: 28px;
}

.auth-form h1 {
  margin-bottom: 8px;
}

.auth-form > p {
  color: var(--muted);
  margin-bottom: 24px;
}

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

.auth-switch {
  text-align: center;
  margin-top: 18px;
}

.chart-box {
  width: 100%;
  height: clamp(380px, 65vh, 720px);
  position: relative;
}

.chart-status {
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding: 8px 15px;
  font-size: 11px;
}

@media (max-width: 1150px) {
  .dashboard-grid, .terminal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .workspace {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

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

  .sidebar {
    height: auto;
    padding: 10px;
    position: static;
  }

  .brand {
    padding: 3px 6px 12px;
  }

  .nav-caption, .sidebar-bottom .small-status, .nav.active > svg:last-child {
    display: none;
  }

  .sidebar nav {
    gap: 4px;
    display: flex;
    overflow-x: auto;
  }

  .nav {
    white-space: nowrap;
    flex-shrink: 0;
    width: auto;
  }

  .sidebar-bottom {
    margin-top: 0;
  }

  .topbar {
    height: auto;
    min-height: 50px;
    padding: 12px 14px;
  }

  .content {
    padding: 16px 12px;
  }

  .metrics {
    gap: 8px;
  }

  .metric {
    padding: 12px;
  }

  .metric strong {
    font-size: 20px;
  }

  .strategy-grid, .bot-form, .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-intro {
    gap: 10px;
    padding: 22px;
  }

  .auth-intro h1 {
    font-size: 25px;
  }

  .page-heading {
    flex-wrap: wrap;
  }

  .breadcrumbs {
    display: none;
  }

  .panel-head {
    padding: 12px;
  }

  .metric > svg {
    top: 11px;
    right: 10px;
  }

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

.advanced {
  border: 1px solid var(--border);
  background: #0d1522;
  border-radius: 7px;
  grid-column: 1 / -1;
  padding: 12px;
}

.advanced summary {
  cursor: pointer;
  color: #afc7e7;
  font-size: 13px;
  font-weight: 600;
}

.advanced-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
  margin-top: 15px;
  display: grid;
}

@media (max-width: 760px) {
  .advanced-grid {
    grid-template-columns: 1fr;
  }
}

.content {
  max-width: none;
  padding: 20px 22px;
}

.terminal-grid {
  grid-template-columns: minmax(0, 1fr) 240px;
}

.chart-box {
  height: clamp(450px, 70vh, 1000px);
}

.chart-shell {
  position: relative;
}

.levels-overlay {
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.chart-tools {
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  display: flex;
}

.chart-tools .secondary {
  min-height: 30px;
  padding: 5px 9px;
}

.tool-selected {
  color: #e9ba6a !important;
  border-color: #e9ba6a !important;
}

.draft-tools small {
  color: var(--muted);
}

@media (max-width: 1150px) {
  .terminal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fullchart-controls {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.chart-panel.fullchart-active {
  z-index: 1000;
  background: #111a29;
  border: 0;
  border-radius: 0;
  flex-direction: column;
  margin: 0;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.fullchart-active > .panel-head {
  flex: none;
  gap: 8px;
  padding: 8px 12px;
}

.fullchart-active > .chart-tools, .fullchart-active > .chart-status {
  flex: none;
}

.fullchart-active > .fullchart-body {
  flex: auto;
  min-height: 0;
  overflow: hidden;
  flex-wrap: nowrap !important;
}

.fullchart-active .fullchart-plot {
  height: 100%;
  min-height: 0;
  flex: 1 1 0 !important;
}

.fullchart-active .chart-shell, .fullchart-active .chart-box {
  height: 100%;
  min-height: 0;
  max-height: none;
}

.fullchart-active .fullchart-trade-panel {
  min-height: 0;
  overflow-y: auto;
  flex: 0 0 290px !important;
}

.mouse-order-menu {
  z-index: 1200;
  background: #162235;
  border: 1px solid #425674;
  border-radius: 8px;
  flex-direction: column;
  gap: 2px;
  width: 240px;
  max-width: calc(100vw - 12px);
  max-height: calc(100dvh - 12px);
  padding: 7px;
  display: flex;
  position: fixed;
  overflow: auto;
  box-shadow: 0 8px 30px #0008;
}

.mouse-order-menu strong, .mouse-order-menu small {
  color: #b9cbe3;
  padding: 6px 8px;
  font-size: 12px;
}

.mouse-order-menu button {
  text-align: left;
  color: #dce7f6;
  background: none;
  border: 0;
  border-radius: 4px;
  padding: 8px;
  font-size: 13px;
}

.mouse-order-menu button:hover {
  background: #263d5b;
}

@media (max-width: 760px) {
  .fullchart-active > .fullchart-body {
    flex-direction: column;
    overflow-y: auto;
  }

  .fullchart-active .fullchart-plot {
    min-height: 45vh;
    flex: 1 0 45vh !important;
  }

  .fullchart-active .fullchart-trade-panel {
    overflow: visible;
    flex: none !important;
  }
}

.cp-language {
  white-space: nowrap;
  direction: ltr;
  align-items: center;
  gap: 3px;
  display: inline-flex;
}

.cp-language button {
  color: #aabbd3;
  cursor: pointer;
  background: #162235;
  border: 1px solid #30415a;
  border-radius: 4px;
  padding: 5px 8px;
  font: 600 12px Segoe UI, Arial, sans-serif;
}

.cp-language button[aria-pressed="true"] {
  color: #fff;
  background: #245caa;
  border-color: #5289d8;
}

.cp-language button:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #83b4ff;
}

html[lang="ar"] .sidebar, html[lang="ar"] .auth-layout, html[lang="ar"] .panel:not(.chart-panel), html[lang="ar"] .chart-panel aside, html[lang="ar"] .breadcrumbs, html[lang="ar"] .page-heading, html[lang="ar"] .safety-note {
  text-align: start;
  direction: rtl;
}

html[lang="ar"] .chart-shell, html[lang="ar"] .fullchart-plot, html[lang="ar"] .chart-tools, html[lang="ar"] .cp-language, html[lang="ar"] input, html[lang="ar"] .mono, html[lang="ar"] .chart-panel {
  direction: ltr;
}

html[lang="ar"] .mouse-order-menu button {
  text-align: start;
  unicode-bidi: plaintext;
}

.cp-bots-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  min-width: 0;
  margin-bottom: 14px;
  display: grid;
}

.cp-bots-grid > .cp-bot-card {
  min-width: 0;
  margin-bottom: 0 !important;
}

.cp-bots-grid > .cp-bot-expanded {
  grid-column: 1 / -1;
}

.cp-bot-summary {
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  display: flex;
}

.cp-bot-title, .cp-bot-state {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.cp-bot-title h2 {
  letter-spacing: .2px;
  margin-bottom: 4px;
  font-size: 19px;
  font-weight: 700;
}

.cp-bot-state {
  gap: 8px;
  font-size: 12px;
}

.cp-bot-mode {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px 8px;
  font-weight: 600;
}

.cp-bot-pnl {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.cp-bot-pnl > small, .cp-bot-facts small {
  color: var(--muted);
}

.cp-bot-pnl > strong {
  letter-spacing: -.6px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
}

.cp-bot-pnl > strong > small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.cp-bot-facts {
  border-block: 1px solid var(--border);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 0;
  display: grid;
}

.cp-bot-facts > div {
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  display: flex;
}

.cp-bot-facts b {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.cp-bot-current {
  color: var(--text);
  overflow-wrap: anywhere;
  min-height: 19px;
  font-size: 13px;
}

.cp-bot-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  display: flex;
}

.cp-bot-actions > button {
  white-space: normal;
  flex: 1;
  min-height: 42px;
}

.cp-bot-summary > small[role="alert"] {
  overflow-wrap: anywhere;
}

.cp-bot-catalog > summary {
  cursor: pointer;
  padding: 15px 18px;
  font-weight: 600;
  list-style-position: inside;
}

.cp-bot-catalog[open] > summary {
  border-bottom: 1px solid var(--border);
}

.cp-bot-catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  padding: 16px;
  display: grid;
}

.cp-bot-planned {
  border: 1px solid var(--border);
  background: #101827;
  border-radius: 7px;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 14px;
  display: flex;
}

.cp-bot-legacy {
  min-width: 0;
}

@media (max-width: 900px) {
  .cp-bots-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cp-bot-summary {
    padding: 15px;
  }
}

.cp-bots-grid.cp-bots-compact-v2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

.cp-bots-compact-v2 > .cp-bot-card {
  min-width: 0;
  margin: 0 !important;
}

.cp-bots-compact-v2 > .cp-bot-expanded {
  grid-column: 1 / -1;
  align-self: start;
}

.cp-bots-compact-v2 .cp-bot-summary {
  gap: 8px;
  padding: 12px 14px;
}

.cp-bots-compact-v2 > .cp-bot-card:not(.cp-bot-expanded) > .cp-bot-summary {
  height: 100%;
}

.cp-bots-compact-v2 .cp-bot-title {
  gap: 6px;
}

.cp-bots-compact-v2 .cp-bot-title h2 {
  margin-bottom: 2px;
  font-size: 16px;
}

.cp-bots-compact-v2 .cp-bot-state {
  gap: 5px;
  font-size: 11px;
}

.cp-bots-compact-v2 .cp-bot-mode {
  padding: 2px 6px;
}

.cp-bots-compact-v2 .cp-bot-pnl {
  gap: 2px;
}

.cp-bots-compact-v2 .cp-bot-pnl > strong {
  font-size: 27px;
  line-height: 1.1;
}

.cp-bots-compact-v2 .cp-bot-pnl > strong > small {
  font-size: 11px;
}

.cp-bots-compact-v2 .cp-bot-facts {
  gap: 8px;
  padding: 6px 0;
}

.cp-bots-compact-v2 .cp-bot-facts > div {
  gap: 2px;
}

.cp-bots-compact-v2 .cp-bot-facts b {
  font-size: 14px;
}

.cp-bots-compact-v2 .cp-bot-current {
  min-height: 16px;
  font-size: 12px;
}

.cp-bots-compact-v2 .cp-bot-actions {
  gap: 6px;
}

.cp-bots-compact-v2 .cp-bot-actions > button {
  overflow-wrap: anywhere;
  min-width: 0;
  min-height: 36px;
  padding: 6px 10px;
}

.cp-bots-compact-v2 > .cp-bot-planned {
  background: var(--panel);
  justify-content: space-between;
  gap: 12px;
  min-height: 100px;
  padding: 14px;
}

.cp-bots-compact-v2 .cp-bot-planned-title {
  overflow-wrap: anywhere;
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.cp-bots-compact-v2 .cp-bot-planned-title h2 {
  font-size: 15px;
}

.cp-bots-compact-v2 .cp-bot-planned-label {
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 5px;
  align-self: flex-start;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1.3;
  display: inline-flex;
}

@media (max-width: 1250px) {
  .cp-bots-grid.cp-bots-compact-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cp-bots-grid.cp-bots-compact-v2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cp-bots-compact-v2 .cp-bot-actions > button {
    min-height: 44px;
  }
}

.cp-w-shell-light {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #f3f5f9;
  --panel: #fff;
  --border: #dce3ec;
  --muted: #596b83;
  --text: #17263b;
  --green: #087d60;
  --red: #c63b4b;
  --amber: #946013;
  background: var(--bg);
  color: var(--text);
}

.cp-w-shell-light > .sidebar, .cp-w-shell-light .topbar {
  background: #fff;
}

.cp-w-shell-light .brand small {
  color: #576d8d;
}

.cp-w-shell-light .nav {
  color: #4b5f79;
}

.cp-w-shell-light .nav:hover, .cp-w-shell-light .nav.active {
  color: #1d55ac;
  background: #e6efff;
  border-color: #cbddfa;
}

.cp-w-shell-light .tag {
  color: #50617a;
  border-color: var(--border);
}

.cp-w-shell-light .safety-note {
  background: #fff8ea;
  border-color: #e8d6ae;
}

.cp-w-shell-light .segmented {
  background: #eef2f8;
}

.cp-w-shell-light .cp-language button {
  color: #50617a;
  border-color: var(--border);
  background: #f1f4f9;
}

.cp-w-shell-light .cp-language button[aria-pressed="true"] {
  color: #fff;
  background: #2869d6;
}

.cp-w-shell-light .secondary, .cp-w-shell-light .status-button {
  color: #263a57;
  background: #f5f7fb;
  border-color: #d4deeb;
}

.cp-w-shell-light .secondary:hover, .cp-w-shell-light .status-button:hover {
  background: #e4edfc;
}

.cp-w-shell-light th {
  color: var(--muted);
  background: #f3f6fa;
}

.cp-w-shell-light td, .cp-w-shell-light th {
  border-color: #e7ecf3;
}

.cp-w-shell-light tbody tr:hover {
  background: #f0f5fd;
}

.cp-w-shell-light input, .cp-w-shell-light select {
  color: var(--text);
  background: #fff;
  border-color: #ccd6e4;
}

.cp-w-shell-light label {
  color: #526179;
}

.cp-w-shell-light .text-link {
  color: #1d5fbd;
}

.cp-w-shell-light .advanced {
  background: #f7f9fc;
}

.cp-w-shell-light .advanced summary {
  color: #385983;
}

.cp-w {
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.cp-w-nav, .cp-w-charthead, .cp-w-charttools, .cp-w-frames, .cp-w-detailbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.cp-w-nav {
  justify-content: space-between;
}

.cp-w-tabs, .cp-w-listtabs {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.cp-w-tabs button, .cp-w-listtabs button, .cp-w-frames button {
  color: var(--muted);
  white-space: nowrap;
  background: none;
  border: 1px solid #0000;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
}

.cp-w-tabs button.selected, .cp-w-listtabs button.selected, .cp-w-frames button.selected {
  color: #fff;
  background: #2869d6;
  border-color: #2869d6;
}

.cp-w-tabs button:hover:not(.selected), .cp-w-listtabs button:hover:not(.selected), .cp-w-frames button:hover:not(.selected) {
  background: var(--panel);
  border-color: var(--border);
}

.cp-w-main {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  align-items: stretch;
  gap: 12px;
  display: grid;
}

.cp-w .panel {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.cp-w-charthead {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  padding: 13px 15px;
}

.cp-w-charthead h2 {
  margin: 0 0 3px;
  font-size: 15px;
}

.cp-w-charthead small {
  font-size: 12px;
}

.cp-w-frames {
  border-bottom: 1px solid var(--border);
  gap: 3px;
  padding: 5px 10px;
}

.cp-w-frames button {
  padding: 6px 10px;
}

.cp-w-frames select {
  width: auto;
  max-width: 100%;
  min-height: 36px;
}

.cp-w-charttools {
  gap: 9px;
  padding: 8px 13px;
  font-size: 13px;
}

.cp-w-charttools .secondary {
  min-height: 30px;
  padding: 5px 8px;
}

.cp-w-spacer {
  flex: 1;
}

.cp-w-canvas {
  direction: ltr;
  width: 100%;
  height: clamp(300px, 44vh, 540px);
  position: relative;
}

.cp-w-chartfoot {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 12px;
  font-size: 11px;
}

.cp-w-statbody {
  flex-direction: column;
  gap: 11px;
  padding: 16px;
  display: flex;
}

.cp-w-big {
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.cp-w-big small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.cp-w-kpis {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.cp-w-kpis > div {
  border: 1px solid var(--border);
  border-radius: 7px;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 10px;
  display: flex;
}

.cp-w-kpis small {
  color: var(--muted);
  font-size: 11px;
}

.cp-w-kpis b {
  overflow-wrap: anywhere;
}

.cp-w-pnlchart {
  width: 100%;
  height: auto;
  display: block;
}

.cp-w-pnlaxis {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  display: flex;
}

.cp-w-pnlaxis small {
  color: var(--muted);
  font-size: 10px;
}

.cp-w-empty {
  border: 1px dashed var(--border);
  color: var(--muted);
  text-align: center;
  border-radius: 7px;
  padding: 26px 8px;
  font-size: 12px;
}

.cp-w-marks {
  border-block: 1px solid var(--border);
  gap: 6px;
  padding: 9px 0;
  display: grid;
}

.cp-w-marks > div {
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  display: flex;
}

.cp-w-manage {
  width: 100%;
  min-height: 42px;
}

.cp-w-botname {
  text-align: start;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 0;
  display: flex;
}

.cp-w-botname small {
  color: var(--muted);
  font-size: 11px;
}

.cp-w .cp-w-selected {
  background: #172d4b;
}

.cp-w[data-cp-theme="light"] .cp-w-selected {
  background: #e7f0ff;
}

.cp-w-list td {
  padding: 10px 14px;
}

.cp-w-list .table-wrap {
  max-height: 420px;
  overflow: auto;
}

.cp-w-list th {
  z-index: 1;
  position: sticky;
  top: 0;
}

.cp-w-planned {
  min-height: 330px;
  color: var(--muted);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  display: flex;
}

.cp-w-detail {
  min-width: 0;
}

.cp-w-detailbar {
  padding: 8px 0 14px;
}

.cp-w-detailbar h2 {
  flex: 1;
}

.cp-w-legacy {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #0b1019;
  --panel: #111a29;
  --border: #253247;
  --muted: #a5b4ca;
  --text: #e7edf6;
  --green: #42d5a4;
  --red: #ff7285;
  --amber: #e9ba6a;
  color: var(--text);
}

.cp-w-shell-light .cp-w-legacy .secondary {
  color: #dce5f1;
  background: #182437;
  border-color: #35445a;
}

.cp-w-shell-light .cp-w-legacy .secondary:hover {
  background: #243550;
}

.cp-w-shell-light .cp-w-legacy input, .cp-w-shell-light .cp-w-legacy select {
  color: var(--text);
  background: #0c1421;
  border-color: #34445b;
}

.cp-w-shell-light .cp-w-legacy label {
  color: #adbdd1;
}

.cp-w-shell-light .cp-w-legacy th {
  color: var(--muted);
  background: #0d1522;
}

.cp-w-shell-light .cp-w-legacy td, .cp-w-shell-light .cp-w-legacy th {
  border-color: #202e41;
}

.cp-w-shell-light .cp-w-legacy tbody tr:hover {
  background: #172338;
}

.cp-w-shell-light .cp-w-legacy .text-link {
  color: #83b8ff;
}

.cp-w-legacy input:not([type="checkbox"]):not([type="radio"]), .cp-w-legacy select {
  height: auto;
  min-height: 40px;
  padding: 8px 10px;
  line-height: 1.4;
}

.cp-w-legacy .advanced-grid {
  align-items: start;
}

.cp-w-legacy .advanced-grid label {
  min-width: 0;
}

.cp-w-shell .content {
  padding-bottom: 80px;
}

.cp-w-shell footer {
  margin-bottom: 30px;
}

@media (max-width: 1100px) {
  .cp-w-main {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  }

  .cp-w-tabs button {
    padding: 8px;
    font-size: 11px;
  }
}

@media (max-width: 850px) {
  .cp-w-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .cp-w-canvas {
    height: clamp(280px, 43vh, 480px);
  }

  .cp-w-nav {
    align-items: flex-start;
  }

  .cp-w-tabs {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
  }

  .cp-w-tabs button {
    flex-shrink: 0;
  }

  .cp-w-statbody {
    gap: 10px;
  }

  .cp-w-pnlchart {
    max-height: 140px;
  }

  .cp-w-list .table-wrap {
    max-height: 480px;
  }

  .cp-w-charttools .cp-w-spacer {
    display: none;
  }
}

.cp-w-main {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 24%);
  gap: 10px;
}

.cp-w-charthead {
  padding: 10px 13px;
}

.cp-w-charthead h2 {
  font-size: 16px;
}

.cp-w-charthead small, .cp-w-chartfoot {
  font-size: 12px;
}

.cp-w-tabs button, .cp-w-listtabs button, .cp-w-frames button {
  font-size: 13px;
}

.cp-w-statbody {
  gap: 9px;
  padding: 14px;
}

.cp-w-statbody > small, .cp-w-kpis small {
  font-size: 12px;
}

.cp-w-kpis b {
  font-size: 14px;
}

.cp-w-kpis > div {
  padding: 9px;
}

.cp-w-big {
  font-size: 32px;
}

.cp-w-list td {
  padding: 6px 12px;
  font-size: 13px;
}

.cp-w-list th {
  padding: 7px 12px;
}

.cp-w-botname {
  gap: 2px;
}

.cp-w-botname small {
  font-size: 11px;
}

.cp-w-list td .secondary {
  min-height: 28px;
  padding: 4px 9px;
}

.cp-w-list .table-wrap {
  max-height: 310px;
}

.cp-w-canvas {
  direction: ltr;
  width: 100%;
  height: clamp(320px, 43vh, 540px);
  position: relative;
  overflow: hidden;
}

.cp-w-canvas table {
  white-space: normal;
  border-collapse: separate;
  width: auto;
}

.cp-w-canvas td {
  border: 0;
  padding: 0;
}

.cp-w-charttools {
  gap: 7px;
  padding: 7px 10px;
}

.cp-w-charttools .cp-w-spacer {
  min-width: 0;
}

.cp-w-charttools .secondary {
  font-size: 12px;
}

.cp-w[data-cp-theme="light"] .cp-w-charttools button {
  color: #263a57;
}

.cp-w[data-cp-theme="light"] .cp-w-charttools [class*="SymbolPicker_trigger"], .cp-w[data-cp-theme="light"] .cp-w-charttools [class*="SymbolPicker_quick"] button {
  color: #263a57;
  background: #f5f7fb;
  border-color: #d4deeb;
}

.cp-w[data-cp-theme="light"] .cp-w-charttools dialog button {
  color: inherit;
}

.cp-draw {
  border-top: 1px solid var(--border);
  direction: ltr;
  grid-template-columns: 40px minmax(0, 1fr);
  min-width: 0;
  display: grid;
}

.cp-draw-main {
  min-width: 0;
}

.cp-draw-rail {
  border-right: 1px solid var(--border);
  scrollbar-width: thin;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  max-height: clamp(365px, 43vh + 42px, 590px);
  padding: 4px 2px;
  display: flex;
  overflow: auto;
}

.cp-draw-rail button, .cp-draw-style button {
  color: var(--muted);
  background: none;
  border: 1px solid #0000;
  border-radius: 5px;
  flex-shrink: 0;
  place-items: center;
  width: 32px;
  min-height: 29px;
  padding: 0;
  font-size: 19px;
  line-height: 1;
  display: grid;
}

.cp-draw-rail button:hover, .cp-draw-style button:hover {
  border-color: var(--border);
  color: var(--text);
}

.cp-draw-rail button.active, .cp-draw-style button.active {
  color: #fff;
  background: #2869d6;
  border-color: #2869d6;
}

.cp-draw-sep {
  border-top: 1px solid var(--border);
  width: 24px;
  margin: 3px 0;
}

.cp-draw-style {
  border-bottom: 1px solid var(--border);
  background: var(--panel);
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 8px;
  display: flex;
}

.cp-draw-style input[type="color"] {
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 5px;
  width: 32px;
  height: 28px;
  min-height: 0;
  padding: 2px;
}

.cp-draw-style select {
  width: 64px;
  height: 29px;
  min-height: 29px;
  padding: 3px 5px;
  font-size: 12px;
  line-height: 1.2;
}

.cp-draw-style small {
  color: var(--muted);
  margin-left: auto;
  font-size: 11px;
}

.cp-draw-style .cp-draw-text {
  width: 140px;
  height: 30px;
  min-height: 30px;
  padding: 4px 7px;
}

.cp-draw-stage {
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.cp-draw-overlay {
  z-index: 4;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.cp-draw-overlay.passive * {
  pointer-events: none !important;
}

@media (max-width: 1180px) {
  .cp-w-main {
    grid-template-columns: minmax(0, 1fr) minmax(255px, 285px);
  }

  .cp-w-charttools [class*="SymbolPicker_quick"] {
    display: none;
  }
}

@media (max-width: 900px) {
  .cp-w-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .cp-w-canvas {
    height: clamp(300px, 44vh, 480px);
  }

  .cp-draw-rail {
    max-height: calc(clamp(300px, 44vh, 480px) + 44px);
  }

  .cp-w-statbody {
    gap: 10px;
  }

  .cp-draw-style small {
    margin-left: 0;
  }
}

.cp-terminal-draw {
  direction: ltr;
  min-width: 0;
}

.cp-terminal-draw .cp-draw-rail {
  max-height: clamp(450px, 70vh, 1000px);
  padding-bottom: 8px;
}

.cp-terminal-draw .cp-draw-stage {
  overflow: visible;
}

.cp-terminal-draw .cp-draw-overlay {
  z-index: 7;
}

.cp-terminal-draw .cp-draw-overlay.passive {
  z-index: 4;
}

.cp-terminal-draw .cp-draw-style select {
  height: 32px;
  min-height: 32px;
  padding: 3px 5px;
  line-height: 1.3;
}

.cp-terminal-draw .cp-draw-style input[type="color"] {
  height: 28px;
  min-height: 28px;
}

.fullchart-active .cp-terminal-draw, .fullchart-active .cp-terminal-draw .cp-draw {
  height: 100%;
  min-height: 0;
}

.fullchart-active .cp-terminal-draw .cp-draw-main {
  flex-direction: column;
  min-height: 0;
  display: flex;
}

.fullchart-active .cp-terminal-draw .cp-draw-style {
  flex: none;
}

.fullchart-active .cp-terminal-draw .cp-draw-stage {
  flex: 1 1 0;
  min-height: 0;
}

.fullchart-active .cp-terminal-draw .cp-draw-rail {
  min-height: 0;
  max-height: 100%;
}

.fullchart-active .cp-terminal-draw .chart-shell, .fullchart-active .cp-terminal-draw .chart-box {
  height: 100%;
  min-height: 0;
  max-height: none;
}

.cp-draw {
  grid-template-columns: 48px minmax(0, 1fr);
}

.cp-draw-rail {
  scrollbar-width: thin;
  gap: 3px;
  padding: 5px 3px;
}

.cp-draw .cp-draw-rail button {
  width: 38px;
  min-height: 34px;
  font-size: 23px;
  line-height: 1.1;
}

.cp-draw .cp-draw-rail button.active {
  box-shadow: inset 0 0 0 1px #76a9ff;
}

.cp-draw-style {
  gap: 8px;
  min-height: 45px;
  padding: 5px 8px;
}

.cp-draw .cp-draw-style input[type="color"] {
  width: 36px;
  height: 34px;
  min-height: 34px;
  padding: 3px;
}

.cp-draw .cp-draw-style select {
  box-sizing: border-box;
  width: 72px;
  height: 34px;
  min-height: 34px;
  padding: 4px 6px;
  font-size: 13px;
  line-height: 1.3;
}

.cp-draw .cp-draw-style button:not(.cp-swatch) {
  width: 34px;
  min-height: 34px;
  font-size: 20px;
}

.cp-draw .cp-draw-style .cp-draw-text {
  height: 36px;
  min-height: 36px;
  padding: 5px 8px;
  line-height: 1.4;
}

.cp-draw-swatches {
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  display: flex;
}

.cp-draw .cp-draw-style button.cp-swatch {
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
}

.cp-draw .cp-draw-style button.cp-swatch.chosen {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.cp-draw-style small {
  font-size: 12px;
  line-height: 1.4;
}

.fullchart-trade-panel input:not([type="checkbox"]):not([type="radio"]):not([type="color"]), .fullchart-trade-panel select {
  box-sizing: border-box;
  height: auto;
  min-height: 38px;
  padding: 7px 9px;
  font-size: 14px;
  line-height: 1.4;
}

.fullchart-trade-panel label {
  font-size: 13px;
  line-height: 1.45;
}

.cp-w-shell-light .chart-panel.fullchart-active {
  background: var(--panel);
}

.cp-w-shell-light .chart-panel .chart-tools small {
  color: var(--muted);
}

.cp-w-shell-light .chart-panel .fullchart-trade-panel {
  color: var(--text);
}

.cp-terminal-theme {
  white-space: nowrap;
  margin-left: auto;
}

@media (max-width: 760px) {
  .cp-draw {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .cp-draw .cp-draw-rail button {
    width: 34px;
    min-height: 34px;
  }

  .cp-draw-swatches {
    gap: 4px;
  }

  .cp-draw-style small, .cp-terminal-theme {
    margin-left: 0;
  }
}

.cp-w-nav {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
}

.cp-w-cardgrid {
  flex: 1;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  gap: 8px;
  min-width: 0;
  display: grid;
}

.cp-w-strategycard {
  text-align: start;
  border: 1px solid var(--border);
  background: var(--panel);
  min-width: 0;
  min-height: 108px;
  color: var(--text);
  border-radius: 8px;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 12px;
  transition: border-color .15s, background .15s;
  display: flex;
}

.cp-w-strategycard:hover {
  border-color: #5688d8;
}

.cp-w-strategycard.is-selected {
  background: #182d49;
  border-color: #3978dc;
  box-shadow: inset 0 0 0 1px #3978dc;
}

.cp-w[data-cp-theme="light"] .cp-w-strategycard.is-selected {
  background: #e8f1ff;
}

.cp-w-cardtitle {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.cp-w-strategycard small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.cp-w-cardstatus, .cp-w-cardnumbers {
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  display: flex;
}

.cp-w-cardnumbers {
  margin-top: auto;
}

.cp-w-cardnumbers b {
  overflow-wrap: anywhere;
  font-size: 16px;
}

.cp-w-cardnumbers b small {
  font-size: 10px;
}

.cp-w-cardplanned {
  color: var(--muted);
  margin-top: auto;
  font-size: 12px;
}

.cp-w-main.cp-w-managing {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 43%);
  align-items: start;
}

.cp-w-main.cp-w-managing > .cp-w-stats {
  overscroll-behavior: contain;
  min-width: 0;
  max-height: 78vh;
  overflow: auto;
}

.cp-w-management {
  border-top: 1px solid var(--border);
  min-width: 0;
}

.cp-w-managementhead {
  z-index: 5;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px;
  display: flex;
  position: sticky;
  top: 0;
}

.cp-w-managementhead h2 {
  font-size: 14px;
}

.cp-w-managementbody {
  background: var(--bg);
  min-width: 0;
  padding: 8px;
}

.cp-w-managementbody > .panel {
  margin: 0 !important;
  overflow: visible !important;
}

.cp-w-managementbody .advanced-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cp-w-managementbody .table-wrap {
  max-width: 100%;
  overflow: auto;
}

.cp-w-managementbody .panel-head, .cp-w-managementbody .panel-body {
  min-width: 0;
}

.cp-w-managementbody .panel-head {
  flex-wrap: wrap;
}

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

@media (max-width: 1100px) {
  .cp-w-main.cp-w-managing {
    grid-template-columns: minmax(0, 1fr);
  }

  .cp-w-main.cp-w-managing > .cp-w-stats {
    max-height: none;
    overflow: visible;
  }

  .cp-w-nav {
    flex-wrap: wrap;
  }

  .cp-w-cardgrid {
    flex-basis: 100%;
  }

  .cp-w-managementhead {
    position: static;
  }
}

@media (max-width: 520px) {
  .cp-w-cardgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-w-strategycard {
    min-height: 100px;
    padding: 9px;
  }

  .cp-w-managementbody .advanced-grid {
    grid-template-columns: 1fr;
  }
}

.cp-w-main.cp-w-stable {
  grid-template-columns: minmax(0, 7fr) minmax(310px, 3fr);
  align-items: stretch;
  gap: 10px;
}

.cp-w-main.cp-w-stable > .cp-w-chart {
  min-width: 0;
}

.cp-w-main.cp-w-stable > .cp-w-stats {
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.cp-w-sideframe {
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  display: flex;
  position: absolute;
  inset: 0;
}

.cp-w-sideframe > .cp-w-charthead {
  flex: none;
}

.cp-w-side-tabs {
  border-bottom: 1px solid var(--border);
  flex: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 8px;
  display: grid;
}

.cp-w-side-tabs button {
  border: 1px solid var(--border);
  background: var(--panel);
  min-width: 0;
  min-height: 38px;
  color: var(--text);
  white-space: normal;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  display: flex;
}

.cp-w-side-tabs button.selected {
  color: #fff;
  background: #2869d6;
  border-color: #2869d6;
}

.cp-w-side-scroll {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.cp-w-stable .cp-w-management {
  border-top: 0;
}

.cp-w-stable .cp-w-managementhead {
  position: static;
}

.cp-w-stable .cp-w-managementbody {
  padding: 6px;
}

.cp-w-stable .cp-w-managementbody input:not([type="checkbox"]):not([type="radio"]):not([type="color"]), .cp-w-stable .cp-w-managementbody select {
  box-sizing: border-box;
  height: auto;
  min-height: 36px;
  padding: 6px 8px;
  line-height: 1.4;
}

.cp-w-stable .cp-w-managementbody .advanced-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
}

.cp-w-stable .cp-w-managementbody .metrics {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
}

@media (max-width: 900px) {
  .cp-w-main.cp-w-stable {
    grid-template-columns: minmax(0, 1fr);
  }

  .cp-w-sideframe {
    position: static;
  }

  .cp-w-side-scroll {
    flex: 0 auto;
    max-height: 65vh;
  }

  .cp-w-main.cp-w-stable > .cp-w-stats {
    min-height: 0;
  }
}

.cp-w-cardwrap {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.cp-w-cardwrap > .cp-w-strategycard {
  flex: 1;
  width: 100%;
}

.cp-w-quickrow {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.cp-w-quickrow > button {
  width: 100%;
  min-height: 30px;
  padding: 5px 7px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.cp-w-quickrow > .cp-w-pause {
  color: #fbbf24;
  background: #3b2a16;
  border: 1px solid #a46c20;
  border-radius: 6px;
}

.cp-w[data-cp-theme="light"] .cp-w-quickrow > .cp-w-pause {
  color: #854d0e;
  background: #fff3d7;
  border-color: #d19b45;
}

.cp-w-quickrow > button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.cp-w-quickrow small {
  overflow-wrap: anywhere;
  font-size: 11px;
}

.cp-w-cardwrap:has(.cp-w-quickrow) > .cp-w-strategycard {
  min-height: 85px;
}

.cp-w-shell-light body, .cp-w-shell-light .content, .cp-w-shell-light .panel, .cp-w-shell-light .cp-w-list, .cp-w-shell-light .cp-w-list td, .cp-w-shell-light .cp-w-list th, .cp-w-shell-light .cp-w-botname, .cp-w-shell-light .cp-w-statbody, .cp-w-shell-light .cp-w-detail, .cp-w-shell-light .cp-w-charthead h2, .cp-w-shell-light .cp-w-charthead small, .cp-w-shell-light .cp-w-chartfoot, .cp-w-shell-light .cp-w-kpis > div {
  color: #1e293b !important;
}

.cp-w-shell-light .metric strong, .cp-w-shell-light h1, .cp-w-shell-light h2, .cp-w-shell-light h3, .cp-w-shell-light b, .cp-w-shell-light strong {
  color: #0f172a !important;
}

.cp-w-shell-light small, .cp-w-shell-light .muted, .cp-w-shell-light .cp-w-botname small, .cp-w-shell-light .cp-w-chartfoot, .cp-w-shell-light .cp-w-kpis small {
  color: #475569 !important;
}

.cp-w-shell-light input, .cp-w-shell-light select, .cp-w-shell-light textarea {
  color: #0f172a !important;
  background: #fff !important;
  border-color: #cbd5e1 !important;
}

.cp-w-shell-light input::placeholder {
  color: #94a3b8 !important;
}

.cp-w-shell-light .cp-w-charttools, .cp-w-shell-light .chart-tools {
  color: #1e293b;
}

.cp-w-shell-light .cp-w-charttools .secondary, .cp-w-shell-light .chart-tools .secondary {
  color: #1e293b;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.cp-w-shell-light .symbol, .cp-w-shell-light .symbol-chip, .cp-w-shell-light [class*="symbol"] {
  color: #1e293b;
  background: #f1f5f9;
}

.cp-w-shell-light .cp-w-legacy, .cp-w-shell-light .cp-w-legacy * {
  color: #e7edf6;
}

.cp-w-shell-light .cp-w-legacy .muted, .cp-w-shell-light .cp-w-legacy small {
  color: #a5b4ca !important;
}

.cp-w-shell-light .cp-progress {
  background: #e2e8f0;
}

.cp-w-shell-light .cp-progress > span {
  background: #2869d6;
}

.cp-w-shell-light .primary {
  color: #fff !important;
}

.cp-last-signal {
  color: #83b8ff;
  background: #2e79ff14;
  border: 1px solid #2e79ff33;
  border-radius: 6px;
  margin-top: 8px;
  padding: 6px 10px;
  font-size: 12px;
}

.cp-w-shell-light .cp-last-signal {
  color: #1e40af;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.cp-on-badge {
  border-radius: 4px;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}

.cp-on-badge.on {
  color: #fff;
  background: #0e7a5a;
}

.cp-on-badge.off {
  color: #cbd5e1;
  background: #374151;
}

.cp-w-shell-light .cp-on-badge.off {
  color: #475569;
  background: #e2e8f0;
}

.cp-w-cardstatus > span:last-child.positive {
  background: #0e7a5a2e;
  border: 1px solid #42d5a459;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #42d5a4 !important;
}

.cp-w-cardstatus > span:last-child.muted {
  background: #6e809d26;
  border: 1px solid #6e809d4d;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8 !important;
}

.cp-w-shell-light .cp-w-cardstatus > span:last-child.positive {
  background: #d1fae5;
  border-color: #a7f3d0;
  color: #065f46 !important;
}

.cp-w-shell-light .cp-w-cardstatus > span:last-child.muted {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #475569 !important;
}

.cp-w-shell-light .cp-draw-rail {
  border-right-color: #cbd5e1;
}

.cp-w-shell-light .cp-draw-rail button {
  color: #334155;
}

.cp-w-shell-light .cp-draw-rail button:hover {
  color: #0f172a;
  border-color: #94a3b8;
}

.cp-w-shell-light .cp-draw-rail button.active {
  color: #fff;
  background: #2869d6;
  border-color: #2869d6;
}

.cp-w-shell-light .cp-draw-style {
  background: #f8fafc;
  border-bottom-color: #cbd5e1;
}

.cp-w-shell-light .cp-draw-style small {
  color: #475569;
}

.cp-w-shell-light .cp-draw-stage {
  background: #fff;
}

.cp-w-shell-light .cp-draw-overlay text {
  paint-order: stroke;
  stroke: #fff !important;
}

.cp-w-shell-light .chart-tools, .cp-w-shell-light .cp-w-charttools {
  color: #1e293b;
}

.cp-w-shell-light .chart-tools small, .cp-w-shell-light .cp-w-charttools small {
  color: #475569 !important;
}

.cp-w-shell-light .chart-tools .secondary, .cp-w-shell-light .cp-w-charttools .secondary {
  color: #1e293b;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.cp-w-shell-light .chart-tools .secondary:hover, .cp-w-shell-light .cp-w-charttools .secondary:hover {
  background: #e2e8f0;
}

.cp-w-shell-light .segmented {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.cp-w-shell-light .segmented button {
  color: #334155;
}

.cp-w-shell-light .segmented button.selected {
  color: #fff;
  background: #2869d6;
}

.cp-w-shell-light .cp-draw-swatches .cp-swatch {
  border-color: #94a3b8;
}

.cp-w-shell-light .cp-terminal-theme {
  color: #1e293b;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

@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-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-font-weight {
  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=app_globals_0yg4wg8plh8sv.css.map*/