.ot-mul-button {
  position: relative;
}
.ot-mul-button.more-button .tea-btn {
  padding-right: 28px !important;
}
.ot-mul-button .ot-mul-dropdown {
  position: absolute !important;
  right: 8px;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
}
.ot-mul-button .ot-mul-dropdown svg {
  transition: transform 0.3s;
}
.ot-mul-button .ot-mul-dropdown:hover svg,
.ot-mul-button .ot-mul-dropdown.active svg {
  transform: rotate(180deg);
}

.ot-refresh-button button {
  padding: 0 6px !important;
}
.ot-refresh-button .ot-refresh-button-icon.active {
  animation-name: refresh;
  animation-duration: 0.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes refresh {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ot-status-empty {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}
.ot-status-empty .ot-status-empty-title {
  font-size: 1.17em;
  font-weight: 500;
  line-height: 22px;
  color: #000000;
}
.ot-status-empty .ot-status-empty-desc {
  font-weight: 400;
  line-height: 22px;
  color: #0000008C;
  margin-top: 5px;
}
.ot-status-empty .ot-status-empty-op {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}
.ot-empty-icon-command {
  width: 64px;
  height: 64px;
}
.ot-empty-icon-command #ot-empty-icon-command-path {
  fill: #D7DCE3;
}
.ot-empty-icon-command #ot-empty-icon-command-react {
  fill: #A2ADBB;
}
.ot-status-empty-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #00000066;
  padding: 16px 0;
}
.ot-status-empty-bottom .ot-status-empty-line {
  flex: 1;
  border-top: 1px dashed #D6DBE3;
}
.ot-status-empty-bottom .ot-status-empty-bottom-icon {
  display: flex;
  align-items: center;
  margin-left: 16px;
}
.ot-status-empty-bottom .ot-status-empty-bottom-icon svg {
  font-size: 20px;
  color: var(--ot-icon-color-1);
}
.ot-status-empty-bottom .ot-status-empty-bottom-desc {
  margin-right: 16px;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: var(--ot-font-color-secondary);
}
.ot-status-empty-bottom .ot-status-empty-bottom-icon + .ot-status-empty-bottom-desc {
  margin-left: 4px;
}
[theme="dark"] .ot-status-empty .ot-status-empty-title {
  color: #FFFFFFE5;
}
[theme="dark"] .ot-status-empty .ot-status-empty-desc {
  color: #FFFFFF8C;
}
[theme="dark"] .ot-empty-icon-command #ot-empty-icon-command-path {
  fill: #9A9A9A;
}
[theme="dark"] .ot-empty-icon-command #ot-empty-icon-command-react {
  fill: #4B4B4B;
}
[theme="dark"] .ot-status-empty-line {
  border-top-color: #4B4B4B;
}

.ot-loading-skeleton {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}
.ot-loading-skeleton .ot-loading-skeleton__row {
  display: flex;
  align-items: center;
}
.ot-loading-skeleton .ot-loading-skeleton__row + .ot-loading-skeleton__row {
  margin-top: 12px;
}
.ot-loading-skeleton .ot-loading-skeleton__col {
  background: linear-gradient(90deg, #E3E6EB 0%, #F1F2F5 19.41%, #E3E6EB 34.02%, #E3E6EB 56.99%, #F1F2F5 75.95%, #E3E6EB 87.33%);
  height: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.ot-loading-skeleton .ot-loading-skeleton__col:after {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: var(--ot-background-color-skeleton-1);
}

#ot-auto-complate.ot-auto-complate.value .ot-dialog-create-connect__auto-complete {
  padding-left: 8px !important;
}
#ot-auto-complate.ot-auto-complate.value .ot-dialog-create-connect__auto-complete:has(+img) {
  padding-left: 32px !important;
}
#ot-auto-complate.ot-auto-complate.value.lh .ot-dialog-create-connect__auto-complete {
  padding-left: 32px !important;
}
#ot-auto-complate.ot-auto-complate .ot-auto-complate-bubble__content .ot-auto-complate-bubble-status .ot-auto-complate-list {
  max-height: 150px;
}
.ot-auto-complate-bubble .tea-bubble .tea-bubble__inner .ot-auto-complate-bubble__content .ot-auto-complate-list li:not(:has(img)) {
  padding-left: 12px !important;
}

.orcaterm-nps-service-score {
  width: 100%;
}
.orcaterm-nps-service-score__numbers {
  font-size: 0;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.orcaterm-nps-service-score__numbers > span {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  font-size: 12px;
  font-weight: 700;
  box-sizing: border-box;
  text-align: center;
  line-height: 24px;
  color: var(--ot-font-color-primary);
  cursor: pointer;
  border-radius: 50%;
  background: var(--ot-footer-background-color);
}
.orcaterm-nps-service-score__numbers > span.is-actived {
  background-color: var(--ot-selected-background-color-1);
  color: rgba(var(--cp-color-white-rgb), 0.9);
}
.orcaterm-nps-service-score__numbers > span:hover {
  background: var(--ot-icon-hover-background-1);
}
.orcaterm-nps-service-score__tips {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 10px;
  color: #888;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

[theme=dark] .monaco-placeholder {
  color: rgba(255, 255, 255, 0.65);
}
[theme=dark] .script-arg {
  background-color: #143a4b;
}
[theme=dark] .script-arg-active {
  background-color: #356992;
}
[theme=light] .tea-btn.command-library-btn:hover:before {
  background-color: var(--ot-icon-hover-background-9) !important;
}
[theme=light] .tea-btn.orcaterm-multiple-servers__header-clear-btn:hover:before {
  background-color: var(--ot-icon-hover-background-9) !important;
}
.command-import-dialog .instance-id-label p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.command-dialog input:-webkit-autofill {
  -webkit-text-fill-color: var(--ot-font-color-primary);
}
.command-dialog input:autofill {
  -webkit-text-fill-color: var(--ot-font-color-primary);
}
.command-input {
  position: relative;
  padding: 0;
  width: 100%;
}
.monaco-placeholder {
  position: absolute;
  display: none;
  white-space: pre-wrap;
  top: 2px;
  left: 0;
  font-size: 12px;
  font-family: Consolas, 'Courier New', monospace;
  pointer-events: none;
  user-select: none;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.6);
}
.command-detail-content .detail-content .content-item .highlight {
  display: inline-block;
  line-height: 16px;
  opacity: 0.5;
}
.command-detail-content .detail-content .content-item .highlight.active {
  opacity: 1;
}
.script-arg {
  background-color: #c6ecfd;
}
.script-arg-active {
  background-color: #a0d4fc;
}
.orcaterm-right-command .body {
  position: relative;
  max-height: 256px;
  overflow: hidden;
}
.command-library-oper .tea-form--search .tea-input.tea-input--search {
  padding-right: 24px !important;
}
.orcaterm-script-args-table .tea-table__box tr:hover {
  background-color: unset !important;
}
.orcaterm-script-args-table .tea-table__box td span {
  line-height: 30px;
}
.ot-icon-script-list .ot-icon-script-list-path {
  fill: white;
  fill-opacity: 0.55;
}
[theme=light] .ot-icon-script-list .ot-icon-script-list-path {
  fill: black;
  fill-opacity: 0.6;
}
.orcaterm-multiple-servers-drawer__footer .orcaterm-multiple-servers-drawer__footer-overtime {
  left: 8px !important;
}
.orcaterm-multiple-servers__header-clear-btn.tea-btn {
  transition: unset !important;
}
.orcaterm-confirm-modal--warning .tea-dialog__messagetitle {
  line-height: 20px;
}
.orcaterm-confirm-modal--warning .tea-dialog__messagetext {
  color: var(--ot-font-color-secondary) !important;
  margin-top: 10px !important;
}
.orcaterm-confirm-modal--warning .tea-icon-warning {
  width: 20px !important;
  height: 20px !important;
}
.orcaterm-import-script-list .tea-table__tr--blank-new td {
  overflow: unset !important;
}
ul.command-list li.command-item .command-info .name {
  flex: unset !important;
}
ul.command-list li.command-item .command-info .remark {
  flex-shrink: 0;
}
ul.command-list li.command-item .command-info .remark-box {
  color: var(--ot-font-color-placeholder);
  display: inline-flex;
}
.orcaterm-command-bubble .command-list,
.orcaterm-right-command .command-list {
  scroll-behavior: smooth;
}
.orcaterm-command-bubble .command-list .command-item.active,
.orcaterm-right-command .command-list .command-item.active {
  border-radius: 4px;
  background-color: var(--ot-background-color-25);
}

/* 拖拽线 */
.ot-resize-container {
  --line-size: 2px;
  --hover-line-scale: 2;
  display: flex;
  position: relative;
  box-sizing: border-box;
}
.ot-resize-container.horizontal {
  height: 100%;
  max-width: 100%;
}
.ot-resize-container.horizontal .ot-resize-line {
  cursor: col-resize;
  width: var(--line-size);
  height: 100%;
}
.ot-resize-container.horizontal .ot-resize-line:hover {
  transform: scaleX(var(--hover-line-scale));
}
.ot-resize-container.vertical {
  width: 100%;
  flex-direction: column;
  max-height: 100%;
}
.ot-resize-container.vertical .ot-resize-line {
  cursor: row-resize;
  height: var(--line-size);
  width: 100%;
}
.ot-resize-container.vertical .ot-resize-line:hover {
  transform: scaleY(var(--hover-line-scale));
}
.ot-resize-container .ot-resize-target {
  position: relative;
  flex-shrink: 1;
  max-height: 100%;
}
.ot-resize-container .ot-resize-line {
  display: none;
  position: relative;
  cursor: ew-resize;
  user-select: none;
  background-color: var(--ot-background-color-3);
  flex-shrink: 0;
  transition: transform 0.3s ease-in;
}
.ot-resize-container .ot-resize-line:hover {
  background-color: var(--ot-font-color-1);
}
.ot-resize-container .ot-resize-line.visible {
  display: block;
}

.ot-login-loading-more {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: -30px;
  height: 30px;
  transition: bottom 0.3s linear;
}
.ot-login-loading-more.loading {
  bottom: 0;
}

@keyframes ot-pane-zoom-enter {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes ot-pane-zoom-exit {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.6);
  }
}
@keyframes ot-pane-backdrop-exit {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
:root {
  --ot-split-pane-min-width: 100px;
  --ot-split-pane-min-height: 50px;
  --ot-split-pane-header-height: 26px;
  --ot-pane-zoom-inset: 20px;
}
.orcaterm-split-view-container {
  height: 100%;
  position: relative;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.orcaterm-split-view {
  min-width: var(--ot-split-pane-min-width);
  min-height: var(--ot-split-pane-min-height);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.orcaterm-split-view__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--ot-split-pane-header-height, 32px);
  padding: 4px 12px;
  border-bottom: 1px solid var(--ot-radio-background-color);
  cursor: grab;
  overflow: hidden;
  background-color: var(--OT-Color-Fill-Gray-Page-Base);
  box-sizing: border-box;
}
.orcaterm-split-view__header:active {
  cursor: grabbing;
}
.orcaterm-split-view__header-text {
  color: var(--ot-font-color-secondary);
  font-size: 12px;
  font-weight: 400;
  line-height: var(--ot-split-pane-header-height, 32px);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.orcaterm-split-view__header-text .ruyi-icon {
  color: var(--ot-font-color-secondary);
  flex-shrink: 0;
}
.orcaterm-split-view__header-oper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
  transition: opacity 0.3s ease-in-out;
  color: var(--ot-font-color-primary);
  height: 100%;
}
.orcaterm-split-view__header-oper .ruyi-icon,
.orcaterm-split-view__header-oper svg {
  color: inherit;
  fill: currentColor;
  width: 14px;
  height: 14px;
}
.orcaterm-split-view__header-oper .orcaterm-header__item {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ot-font-color-primary);
  border-radius: 4px;
  cursor: pointer;
}
.orcaterm-split-view__header-oper .orcaterm-header__item:hover {
  background-color: var(--ot-top-background-color-1);
}
.orcaterm-split-view__header-oper .orcaterm-header__item .ruyi-icon,
.orcaterm-split-view__header-oper .orcaterm-header__item svg {
  color: inherit;
  fill: currentColor;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.orcaterm-split-view__header-oper .orcaterm-header__item.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.orcaterm-split-view__header-oper .orcaterm-header__item.is-disabled:hover {
  background-color: transparent;
}
.orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border {
  width: 20px;
  height: 20px;
  min-width: 20px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ot-font-color-primary);
  border-radius: 4px;
}
.orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border:hover {
  background-color: var(--ot-top-background-color-1);
}
.orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border .ruyi-icon,
.orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border svg {
  width: 14px;
  height: 14px;
}
.orcaterm-split-view__header-divider {
  width: 1px;
  height: 16px;
  background: var(--OT-Color-Base-Border-Secondary, #383838);
  flex-shrink: 0;
}
.orcaterm-split-view.leaf {
  border: 1px solid var(--OT-Color-Fill-Gray-Page-Base);
}
.orcaterm-split-view.is-selected.leaf {
  border: 1px solid var(--border-active-color, #1784EB);
  border-radius: 6px;
}
.orcaterm-split-view.is-selected .orcaterm-split-view__header-oper {
  opacity: 1;
}
.orcaterm-split-view.is-selected .orcaterm-split-view__header-text .ruyi-icon {
  color: var(--ot-font-color-1);
}
.orcaterm-split-view.drag-source {
  opacity: 0.5;
}
.orcaterm-split-view.drag-source .orcaterm-split-view__header {
  cursor: grabbing;
}
.orcaterm-split-view.is-fullscreen .orcaterm-split-view__header,
.orcaterm-split-view.is-fullscreen .orcaterm-split-view__header:active {
  cursor: default;
}
.orcaterm-drop-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 100;
}
.orcaterm-drop-overlay .orcaterm-drop-indicator {
  position: absolute;
  background: rgba(0, 120, 212, 0.15);
  border: 2px solid rgba(0, 120, 212, 0.6);
  border-radius: 4px;
  transition: all 0.15s ease;
}
.orcaterm-drop-overlay.left .orcaterm-drop-indicator {
  inset: 4px 50% 4px 4px;
}
.orcaterm-drop-overlay.right .orcaterm-drop-indicator {
  inset: 4px 4px 4px 50%;
}
.orcaterm-drop-overlay.top .orcaterm-drop-indicator {
  inset: 4px 4px 50% 4px;
}
.orcaterm-drop-overlay.bottom .orcaterm-drop-indicator {
  inset: 50% 4px 4px 4px;
}
.orcaterm-pane-drop-zone {
  position: absolute;
  top: var(--ot-split-pane-header-height, 20px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  pointer-events: none;
}
body.orcaterm-pane-dragging .orcaterm-pane-drop-zone {
  pointer-events: auto;
}
.orcaterm-drag-image {
  position: fixed;
  top: -1000px;
  left: -1000px;
  background: rgba(0, 120, 212, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
:root .orcaterm-split-view.is-selected .orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border:hover,
[theme='dark'] .orcaterm-split-view.is-selected .orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border:hover {
  background: #283D6B;
}
[theme='light'] .orcaterm-split-view.is-selected .orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border:hover {
  background: #B8CCFA;
}
.orcaterm-pane-header__more-dropdown .tea-dropdown__inner {
  padding: 4px;
}
.orcaterm-pane-header__more-list {
  display: flex;
  flex-direction: column;
  min-width: 120px;
  gap: 2px;
}
.orcaterm-pane-header__more-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  color: var(--ot-font-color-primary);
}
.orcaterm-pane-header__more-item:hover {
  background-color: var(--ot-top-background-color-1);
}
.orcaterm-pane-header__more-item .orcaterm-header__item {
  width: 100%;
  height: auto;
  min-width: auto;
  display: flex;
  align-items: center;
  position: relative;
}
.orcaterm-pane-header__more-item .orcaterm-header__item:hover {
  background-color: transparent;
}
.orcaterm-pane-header__more-item .orcaterm-header__item.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.orcaterm-pane-header__more-item .orcaterm-header__item-inner {
  width: 100%;
}
.orcaterm-pane-header__more-item .orcaterm-header__item.tmux {
  width: 100%;
  justify-content: space-between;
}
.orcaterm-pane-header__more-item .orcaterm-header__item .esc-tmux-session {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: var(--ot-font-color-primary);
  font-size: 10px;
  font-weight: 600;
  line-height: 10px;
  gap: 2px;
  padding: 2px 4px;
}
.orcaterm-pane-header__more-item .orcaterm-header__item .esc-tmux-session:hover {
  border-radius: 4px;
  background-color: var(--OT-Color-Fill-Gray-Tertiary-Hover);
}
.orcaterm-pane-header__more-item .orcaterm-header__item .esc-tmux-session .label {
  color: var(--ot-font-color-secondary);
  font-size: 7px;
  font-weight: 500;
  line-height: 7px;
}
.orcaterm-pane-header__more-item .ruyi-icon,
.orcaterm-pane-header__more-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.orcaterm-pane-header__more-item.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.orcaterm-pane-header__more-loading {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  font-size: 14px;
  color: var(--ot-font-color-secondary);
}
.orcaterm-pane-header__more-label {
  font-size: 12px;
  line-height: 1;
  color: var(--ot-font-color-primary);
  white-space: nowrap;
}
.orcaterm-pane-header__more-item--text {
  position: relative;
}
.orcaterm-pane-header__more-item--text .orcaterm-pane-header__more-tool {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
}
.orcaterm-pane-header__more-item--text .orcaterm-pane-header__more-tool * {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
}
.orcaterm-pane-header__more-item--text .orcaterm-pane-header__more-label {
  position: relative;
  z-index: 1;
  flex: 1;
  pointer-events: none;
}
.orcaterm-pane-header__more-divider {
  height: 1px;
  margin: 4px 0;
  background-color: var(--OT-Color-Base-Border-Secondary, #383838);
}
.ot-pane-split--key {
  width: 100%;
  justify-content: space-between;
}
.orcaterm__main {
  --splitter-width: 2px;
}
.orcaterm__main .orcaterm-pane-container {
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.orcaterm__main .orcaterm__body > .orcaterm-split-view-container {
  background-color: inherit;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}
.orcaterm__main .orcaterm__body > .orcaterm-split-view.leaf {
  width: 100%;
  height: 100%;
  position: relative;
}
.orcaterm__main .orcaterm__body .orcaterm-pane-fullscreen-overlay {
  position: absolute;
  top: var(--ot-pane-zoom-inset, 20px);
  right: var(--ot-pane-zoom-inset, 20px);
  bottom: var(--ot-pane-zoom-inset, 20px);
  left: var(--ot-pane-zoom-inset, 20px);
  z-index: 10;
  display: none;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  background-color: inherit;
  outline: 2px solid var(--border-active-color, #1784EB);
  outline-offset: 0;
  animation: ot-pane-zoom-enter 0.22s cubic-bezier(0.32, 0.72, 0.3, 1) both;
  transform-origin: center center;
}
.orcaterm__main .orcaterm__body .orcaterm-pane-fullscreen-overlay:not(:empty) {
  display: flex;
}
.orcaterm__main .orcaterm__body .orcaterm-pane-fullscreen-overlay.is-exiting {
  display: flex;
  animation: ot-pane-zoom-exit 0.18s cubic-bezier(0.32, 0.72, 0.3, 1) both;
}
.orcaterm__main .orcaterm__body .orcaterm-pane-fullscreen-overlay__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.orcaterm__main .orcaterm__body .orcaterm-pane-fullscreen-overlay__backdrop.is-exiting {
  animation: ot-pane-backdrop-exit 0.18s ease-out both;
}
.orcaterm__main .orcaterm-split-view-container {
  display: flex;
  background-color: inherit;
  position: relative;
  overflow: visible;
}
.orcaterm__main .orcaterm-split-view-container.vertical {
  flex-direction: column;
}
.orcaterm__main .orcaterm-split-view-container.vertical > .orcaterm-split-view-splitter {
  height: var(--splitter-width);
  cursor: row-resize;
}
.orcaterm__main .orcaterm-split-view-container.vertical > .orcaterm-split-view-splitter:hover {
  transform: scaleY(2);
  z-index: 1000;
}
.orcaterm__main .orcaterm-split-view-container.vertical > .orcaterm-split-view {
  min-height: var(--ot-split-pane-min-height);
  width: 100%;
  box-sizing: border-box;
  flex: 0 1 0;
}
.orcaterm__main .orcaterm-split-view-container.vertical > .orcaterm-split-view:not(.leaf) {
  min-height: min-content;
}
.orcaterm__main .orcaterm-split-view-container.horizontal {
  flex-direction: row;
}
.orcaterm__main .orcaterm-split-view-container.horizontal > .orcaterm-split-view-splitter {
  width: var(--splitter-width);
  cursor: col-resize;
}
.orcaterm__main .orcaterm-split-view-container.horizontal > .orcaterm-split-view-splitter:hover {
  transform: scaleX(2);
}
.orcaterm__main .orcaterm-split-view-container.horizontal > .orcaterm-split-view {
  min-width: var(--ot-split-pane-min-width);
  height: 100%;
  flex: 0 1 0;
}
.orcaterm__main .orcaterm-split-view-container.horizontal > .orcaterm-split-view:not(.leaf) {
  min-width: min-content;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view:not(.leaf) {
  overflow: visible;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view.leaf {
  contain: size;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view.is-hidden {
  pointer-events: none;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view-splitter {
  flex-shrink: 0;
  background-color: var(--ot-background-color-3);
  z-index: 4;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view-splitter:hover {
  background-color: var(--ot-font-color-1);
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view__header {
  z-index: 4;
}
.orcaterm-cooperation-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 0;
  color: var(--ot-font-color-primary);
  box-sizing: border-box;
}
.orcaterm-cooperation-entry--hidden {
  display: none;
}
.orcaterm-cooperation-entry--disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.orcaterm-cooperation-entry--loading {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
}
.orcaterm-cooperation-entry__icon {
  color: inherit;
  fill: currentColor;
  transition: color 0.2s ease-in-out;
  flex-shrink: 0;
}
.orcaterm-cooperation-entry__icon.is-active {
  color: #32b25d;
}
.orcaterm-cooperation-entry__icon.is-disabled {
  color: var(--ot-font-color-secondary);
}
.orcaterm-cooperation-entry__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  color: inherit;
}
.orcaterm-cooperation-entry__icon-btn:hover {
  background-color: var(--ot-top-background-color-1);
}
.orcaterm-cooperation-entry__icon-btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.orcaterm-cooperation-entry__label-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  padding: 2px 4px;
  border-radius: 4px;
  cursor: pointer;
  color: inherit;
  background-color: transparent;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
  user-select: none;
  white-space: nowrap;
}
.orcaterm-cooperation-entry__label-btn.has-btn-text {
  border-radius: 12px;
  padding: 2px 8px;
}
.orcaterm-cooperation-entry__label-btn:hover {
  background-color: var(--ot-top-background-color-1);
}
.orcaterm-cooperation-entry__label-btn.is-active.has-btn-text {
  background-color: var(--ot-top-background-color-1);
}
.orcaterm-cooperation-entry__label-btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.orcaterm-cooperation-entry__label-btn.is-static {
  cursor: default;
  pointer-events: none;
}
.orcaterm-cooperation-entry__label-btn.is-static:hover {
  background-color: transparent;
}
.orcaterm-cooperation-entry__action-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  height: 100% !important;
  line-height: 100% !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  background: var(--OT-color-gray-opacity-16, rgba(255, 255, 255, 0.16));
}
.orcaterm-cooperation-entry__label {
  font-size: 12px;
  line-height: 16px;
  color: inherit;
  white-space: nowrap;
}
.orcaterm-cooperation-entry__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 22px;
  padding: 0 8px;
  border-radius: 12px;
  background-color: var(--ot-top-background-color-1);
  box-sizing: border-box;
}
.orcaterm-cooperation-entry__pill-main {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  cursor: pointer;
  color: inherit;
  user-select: none;
  white-space: nowrap;
}
.orcaterm-cooperation-entry__pill-main.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.orcaterm-cooperation-entry__pill-divider {
  width: 1px;
  height: 14px;
  flex-shrink: 0;
  background-color: var(--ot-font-color-secondary);
  opacity: 0.4;
}
.orcaterm-cooperation-entry__avatars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  height: 100%;
}
.orcaterm-cooperation-entry__avatars .orcaterm__cooperation-item {
  border-radius: 50%;
  overflow: hidden;
  height: 20px;
  width: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orcaterm-cooperation-entry__avatars .orcaterm__cooperation-item.is-current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 1px dashed #32b25d;
  border-radius: 100%;
  cursor: pointer;
}
.orcaterm-cooperation-entry__avatars .orcaterm__cooperation-item-inner {
  width: calc(100% - 3px);
  height: calc(100% - 3px);
}
.orcaterm-cooperation-entry__avatars .orcaterm__cooperation-item img {
  width: 100%;
  height: 100%;
}
.orcaterm-cooperation-entry__countdown {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  line-height: 16px;
  color: var(--ot-font-color-primary);
}
.orcaterm-cooperation-entry__footer {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}
.orcaterm-cooperation-entry__footer .tea-btn {
  box-sizing: content-box;
  border-radius: 0 !important;
  padding: 4px 0 !important;
}
.orcaterm-cooperation-entry__split-line {
  height: 1px;
  width: 100%;
  background-color: var(--OT-Color-Base-Border-Primary, #2C2C2C);
}
.orcaterm-cooperation-entry__stop-btn.tea-btn {
  color: var(--OT-Color-Accent-Text-Error-Default, #FF5E4F) !important;
  font-weight: 500;
  line-height: 20px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: transparent;
  border-radius: 0 0 4px 4px !important;
}
.orcaterm-cooperation-entry__stop-btn.tea-btn:hover {
  background-color: rgba(229, 79, 64, 0.16) !important;
}
.orcaterm-cooperation-entry__stop-btn.tea-btn .ruyi-icon {
  color: inherit;
}
.ot-terminal-shell {
  /* 修改滚动条宽度 */
}
.ot-terminal-shell .xterm .xterm-scrollable-element > .scrollbar {
  width: 3px !important;
}
.ot-terminal-shell .xterm .xterm-scrollable-element > .scrollbar > .slider {
  width: 3px !important;
  border-radius: 3px;
  /* 添加圆角 */
  background-color: var(--scroll-bar-color) !important;
  border: none;
  background-clip: unset;
}
.ot-terminal-shell .xterm .xterm-scrollable-element > .scrollbar:hover {
  width: 6px !important;
}
.orcaterm__main {
  position: relative;
}
.orcaterm__main .ot-default-page {
  opacity: 0;
  display: none;
  flex: 1;
  transition: all 0.3s ease-in-out;
}
.orcaterm__main .ot-default-page.active {
  display: block;
  opacity: 1;
}
.orcaterm__main .ot-tab-page-list {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  background-color: var(--ot-editor-background-color);
}
.orcaterm__main .ot-tab-page-item {
  opacity: 0;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.orcaterm__main .ot-tab-page-item.active {
  opacity: 1;
  z-index: 10;
}
.orcaterm__main .ot-tab-page-item .ot-login-loading {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.orcaterm__main .ot-terminal-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.orcaterm__main .ot-terminal-shell > div {
  min-width: 200px;
}
.orcaterm__main .ot-terminal-shell.is-fullscreen {
  border-radius: 6px;
  overflow: hidden;
}
.orcaterm__main .orcaterm__screen {
  min-height: 200px;
}
.orcaterm__main .orcaterm__body {
  display: flex;
  height: 100%;
  width: 100%;
  overflow-x: auto;
  position: relative;
}
.orcaterm__main .ot-resize-fold {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  height: 8px;
  width: 100%;
  cursor: pointer;
  background-color: var(--ot-top-background-color-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 0.4s cubic-bezier(0.38, 0, 0.24, 1);
}
.orcaterm__main .ot-resize-fold .unfold-btn {
  display: none;
  align-items: center;
  background-color: transparent;
  color: var(--ot-font-color-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  gap: 4px;
  padding: 0px !important;
}
.orcaterm__main .ot-resize-fold .unfold-btn .arrow-new-icon {
  width: 15px;
  height: 15px;
  background-repeat: no-repeat;
  background-size: cover;
  animation: 0.4s steps(2) 0s 1 normal forwards running arrowAni;
  background-image: url(https://cloudcache.tencent-cloud.com/qcloud/ui/static/other_external_resource/a4f65cbf-afff-47bb-b0d2-b1456bc1bb26.png);
}
.orcaterm__main .ot-resize-fold:hover {
  height: 32px;
  border-top: 2px solid var(--ot-font-color-1);
}
.orcaterm__main .ot-resize-fold:hover .unfold-btn {
  display: inline-flex;
}
.orcaterm__main .sftp-ui-table.tea-table {
  overflow: hidden;
}
.orcaterm__main .sftp-ui-table.tea-table .tea-table__header {
  overflow: hidden;
}
.orcaterm__main .orcaterm-sub-header .orcaterm-header__item {
  margin-right: unset;
}
.orcaterm__main .orcaterm-sub-header .orcaterm-header__item-network {
  margin: 0;
  padding: 0;
}
[theme="light"] .ot-resize-fold .unfold-btn .arrow-new-icon {
  background-image: url(https://cloudcache.tencent-cloud.com/qcloud/ui/static/other_external_resource/39f29d0c-11c9-4795-875c-92a74c0f6a7d.png);
}
.sftp-ui-btn-groups__left {
  width: 100%;
  overflow-x: auto;
}
.sftp-ui-btn-groups__left button {
  flex-shrink: 0;
}
.orcaterm-main-container__right {
  position: relative;
}
.ot-file-manager-pane__editor-side .sftp-ui-edit-content__inner {
  height: 100%;
}
.ot-bubble-cooperation.collaborator .tea-bubble {
  min-width: unset !important;
  max-width: unset !important;
}
.ot-bubble-cooperation .tea-bubble__inner {
  border-radius: 8px !important;
  box-sizing: content-box;
  max-width: 320px;
  width: 320px;
}
.ot-bubble-cooperation__header {
  padding: 12px 12px 4px 12px !important;
  border-bottom: none !important;
}
.ot-bubble-cooperation .ot-bubble-cooperation__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ot-bubble-cooperation .ot-bubble-cooperation__list .ot-bubble-cooperation__item {
  padding: 4px 8px !important;
}
.ot-bubble-cooperation .ot-bubble-cooperation__list .ot-bubble-cooperation__item-left .user-avatar {
  width: 32px !important;
  height: 32px !important;
}
.ot-bubble-cooperation .ot-bubble-cooperation__list .ot-bubble-cooperation__item-left .user-avatar-content .user-name {
  line-height: 20px !important;
}
.ot-bubble-cooperation .ot-bubble-cooperation__list .ot-bubble-cooperation__item-left .user-avatar-content .user-id {
  line-height: 18px !important;
}

/**
 * UV 提升活动 - Web 端按钮 + 卡片式提示样式(2026-06-08 照搬归档 Figma 设计稿原型)
 *
 * 行为对应 DownloadClientButton.tsx:
 * - 登录命中白名单 → 0.5s 后 → open(带 --visible 类,弹性入场)
 * - open 4s 后 → collapsed(去掉 --visible,DOM 仍在,等待 hover 唤回)
 * - collapsed + hover wrapper / popover → 重新 --visible
 * - 任何点击 → closed(DOM 卸载)
 *
 * ⚠️ 卡片通过 React Portal 渲染到 document.body,因此:
 *   1. position: fixed 与 viewport 对齐,不受祖先 overflow:hidden 截断
 *   2. top / left 由组件用 getBoundingClientRect 计算后通过 inline style 注入
 *   3. 主题切换由 body 上的 .dark-theme / .light-theme class 驱动
 *      (见 packages/config-sync/useTheme.ts setSkinStyle)—— portal 挂 body 下,
 *      `.light-theme .uv-boost-tip` 选择器天然命中
 *
 * 参数化策略(变量名一致于归档 global.css 的设计 Token):
 * - 不变量(尺寸/字号/字重/动画时长/缓动)用 less 变量(@xxx),编译时确定
 * - 主题相关色值用 CSS 变量,变量名复用归档 Figma 设计 Token:
 *     --color-fill-primary-default  → 卡片背景
 *     --color-border-secondary      → 描边
 *     --color-text-secondary        → 副标题色
 *   作用域限定在 .uv-boost-tip 内(项目尚无全局 Token,避免污染全局空间)
 * - 黄色品牌色 #ff9d00 与盒影直接写值(归档 Header.css 也是直接写值,
 *   未走 Token,保持一致)
 */
/* ---------- 不变量(尺寸/字号/动画) ---------- */
.orcaterm-header-special-offer-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.uv-boost-tip {
  --color-fill-primary-default: #1f1f1f;
  --color-border-secondary: #383838;
  --color-text-secondary: rgba(255, 255, 255, 0.64);
  position: fixed;
  transform: translate(-50%, -8px) scale(0.96);
  transform-origin: top center;
  z-index: 9999;
  width: max-content;
  max-width: 360px;
  white-space: nowrap;
  padding: 12px;
  border-radius: 8px;
  background-color: var(--color-fill-primary-default);
  border: 1px solid var(--color-border-secondary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s linear;
}
.uv-boost-tip__arrow {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background-color: inherit;
  border-left: 1px solid var(--color-border-secondary);
  border-top: 1px solid var(--color-border-secondary);
}
.uv-boost-tip__content {
  display: flex;
  flex-direction: column;
}
.uv-boost-tip__title {
  margin: 0 0 6px 0;
  font-size: 13.5px;
  line-height: 19px;
  font-weight: 600;
  color: #ff9d00;
}
.uv-boost-tip__desc {
  margin: 0;
  font-size: 11px;
  line-height: 16px;
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.uv-boost-tip--visible {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
/* ---------- light 主题覆盖(只覆背景/描边/阴影/副标题色) ---------- */
.light-theme .uv-boost-tip {
  --color-fill-primary-default: #ffffff;
  --color-border-secondary: rgba(0, 0, 0, 0.08);
  --color-text-secondary: rgba(0, 0, 0, 0.64);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.orcaterm-footer-form-bubble .ot-footer-form-item {
  display: flex;
  align-items: center;
  gap: 2px;
}
.orcaterm-footer-form-bubble.tea-bubble.max-width {
  max-width: 185px !important;
}

.tea-bubble.ot-custom-avatar-bubble {
  width: unset !important;
}
.tea-bubble.ot-custom-avatar-bubble .ot-custom-avatar-bubble__content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

[theme=dark] .sftp-ui-edit-content.ot-file-manager-editor {
  --ot-file-editor-background-color: #141414;
}
[theme=light] .sftp-ui-edit-content.ot-file-manager-editor {
  --ot-file-editor-background-color: #F1F2F5;
}
.sftp-ui-edit-content.ot-file-manager-editor.visible {
  height: 100%;
}
.sftp-ui-edit-content.ot-file-manager-editor .sftp-ui-edit-terminal {
  min-height: unset;
}
.sftp-ui-edit-content.ot-file-manager-editor .ot-binary-file-tip.binary-file {
  background-color: var(--ot-file-editor-background-color);
}
.sftp-ui-edit-content.ot-file-manager-editor .ot-binary-file-tip.binary-file .ot-binary-file-tip-icon {
  display: flex;
  justify-content: center;
}
.sftp-ui-edit-content.ot-file-manager-editor .ot-file-loading {
  display: flex;
  justify-content: center;
}
.sftp-ui-edit-content.ot-file-manager-editor .ot-file-loading .loading-file {
  display: flex;
  gap: 2px;
  align-items: center;
}
.sftp-ui-edit-content.ot-file-manager-editor .ot-file-error-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: var(--ot-file-editor-background-color);
}
.sftp-ui-edit-content.ot-file-manager-editor .loadfile-error.editor-file-error {
  background-color: var(--ot-file-editor-background-color);
}

.sftp-row-context-menu {
  background: var(--ot-editor-background-color, #fff);
  border: 1px solid var(--ot-border-color, #e5e5e5);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  padding: 4px 0;
  min-width: 100px;
  overflow: hidden;
}
.sftp-row-context-menu li {
  padding: 6px 16px;
  cursor: pointer;
  white-space: nowrap;
}
.sftp-row-context-menu li:hover {
  background: var(--ot-primary-color-light, #e6f0ff);
}
.sftp-ui-table.tea-table .table-header-search.is-selected .tea-form--search {
  top: -2px !important;
}
.ot-file-manager-pane .sftp-ui .sftp-ui-table.tea-table .tea-table__body tr.normal:hover td .sftp-ui-table__operation {
  display: flex;
  left: 100%;
  right: unset;
  height: 30px;
  top: calc(50% - 15px);
  align-items: center;
  z-index: 1;
  background-color: var(--ot-background-color-8);
}
.ot-file-manager-pane .sftp-ui .sftp-ui-table.tea-table.one-col .tea-table__body tr.normal:hover td .sftp-ui-table__operation {
  transform: translate(-100%, 0);
}
.ot-file-manager-pane .orcaterm-command-library.sftp-panel .command-library-header {
  cursor: grab;
}

.ot-file-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  --bd-tabs-height-default: 30px;
}
.ot-file-view .bd-tea-tabs__tabpanel {
  height: calc(100% - var(--bd-tabs-height-default));
  padding: 4px;
}
.ot-file-view .sftp-ui-edit-terminal {
  margin-top: 0;
  padding: 10px;
  height: calc(100% - 20px);
  box-sizing: border-box;
}
.ot-file-view .ot-file-markdown-preview {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-toolbar {
  position: absolute;
  top: 0px;
  right: 12px;
  z-index: 10;
  display: flex;
  gap: 8px;
}
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-toolbar .tea-btn {
  padding: 0 12px!important;
  height: 24px;
  line-height: 24px;
}
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-body {
  height: 100%;
  overflow: auto;
  padding: 16px 24px;
  background: transparent;
  box-sizing: border-box;
}
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-body .wmde-markdown ul {
  list-style-type: disc;
}
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-body .wmde-markdown ol {
  list-style-type: decimal;
}
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-body .wmde-markdown ul ul {
  list-style-type: circle;
}
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-body .wmde-markdown ul ul ul {
  list-style-type: square;
}
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-body .wmde-markdown ol ol,
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-body .wmde-markdown ul ol {
  list-style-type: lower-roman;
}
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-body .wmde-markdown ul ul ol,
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-body .wmde-markdown ul ol ol,
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-body .wmde-markdown ol ul ol,
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-body .wmde-markdown ol ol ol {
  list-style-type: lower-alpha;
}
.ot-file-view .ot-file-markdown-preview .ot-file-markdown-editor {
  height: 100%;
  overflow: hidden;
}

.ot-file-manager-pane {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--ot-editor-background-color, #fff);
  overflow: hidden;
}
.ot-file-manager-pane .sftp-panel.ot-file-manager {
  display: flex;
  flex-direction: column;
}
.ot-file-manager-pane__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  gap: 8px;
}
.ot-file-manager-pane__header > .text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ot-file-manager-pane__header .btn-groups {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
}
.ot-file-manager-pane__header .btn-groups > * {
  flex-shrink: 0;
}
.ot-file-manager-pane__header .btn-groups-line {
  flex: 0 0 auto;
  width: 1px;
  height: 16px;
  background-color: var(--OT-Color-Border-Gray-Secondary, #383838);
}
.ot-file-manager-pane__header .ot-file-manager-pane__close-btn,
.ot-file-manager-pane__header .ot-file-manager-pane__zoom-btn {
  flex: 0 0 auto;
}
.ot-file-manager-pane__body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ot-file-manager-pane.is-wide .ot-file-manager-pane__body {
  flex-direction: row;
}
.ot-file-manager-pane__body > .sftp-ui {
  flex: 1 1 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.ot-file-manager-pane.has-open-files .ot-file-manager-pane__body > .sftp-ui {
  flex: 0 0 var(--list-size, 40%);
}
.ot-file-manager-pane__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--ot-text-color-secondary, #888);
}
.ot-file-manager-pane__resizer {
  flex-shrink: 0;
  z-index: 3;
  background: var(--ot-background-color-3, #e5e5e5);
  transition: background 0.2s;
  width: 100%;
  height: 2px;
  cursor: row-resize;
}
.ot-file-manager-pane__resizer:hover {
  background: var(--ot-font-color-1, #006eff);
  transform: scaleX(2);
}
.ot-file-manager-pane__resizer.is-wide {
  width: 2px;
  height: 100%;
  cursor: col-resize;
}
.ot-file-manager-pane__editor-side {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--ot-editor-background-color, #fff);
}

.orcaterm-command-library.sftp-panel.ot-file-manager {
  transition: none;
  width: 100%;
  box-sizing: border-box;
  border-right: none;
}
.orcaterm-command-library.sftp-panel.ot-file-manager .orcaterm-command-library-inner {
  width: 100%;
  min-width: 280px;
  max-width: 680px;
  box-sizing: border-box;
}
.orcaterm-command-library.sftp-panel.visible.win-panel {
  width: unset !important;
}
.orcaterm-command-library.sftp-panel.visible.win-panel .orcaterm-command-library-inner {
  width: unset !important;
}

