.side-slide {
  display: none;
  font-weight: 100;
  background: #0a0a0a;
  width: 250px;
  height: 100%;
  padding: 12px 10px 10px;
  position: absolute;
  top: 0;
  z-index: 3;
  box-shadow: 4px 0 18px rgba(0, 0, 0, 0.35);
  left: -250px;
  overflow: visible;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  color: white;
}

.side-slide.slide-out {
  transform: translate3d(250px, 0, 0);
}

.side-slide .title,
.side-slide-tab {
  position: absolute;
  top: 12px;
  left: 100%;
  right: auto;
  width: 26px;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 14px 0 16px;
  transform: none;
  transform-origin: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.72);
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: none;
  border-radius: 0 8px 8px 0;
  box-shadow: none;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  appearance: none;
  -webkit-appearance: none;
  z-index: 4;
  user-select: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

/* Must beat `.side-slide .title` specificity so tabs do not stack */
.side-slide .side-slide-tab-copy {
  top: 148px;
  padding-top: 18px;
  padding-bottom: 18px;
  z-index: 5;
}

.side-slide.has-profitability-tab .side-slide-tab-copy {
  top: 148px;
}

.side-slide.has-profitability-tab .side-slide-tab-profitability {
  top: 284px;
}

.side-slide:not(.has-copy-tab) .side-slide-tab-profitability {
  top: 148px;
}

.side-slide.has-copy-tab:not(.has-profitability-tab) .side-slide-tab-profitability {
  top: 284px;
}

.side-slide .side-slide-tab-profitability {
  top: 148px;
  padding-top: 18px;
  padding-bottom: 18px;
  z-index: 5;
}

.side-slide .side-slide-tab-profitability .side-slide-tab-chevron,
.side-slide .side-slide-tab-copy .side-slide-tab-chevron {
  display: none;
}

.side-slide-tab.is-active {
  color: #fff;
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.28);
}

#copy-panel,
#profitability-panel {
  height: 100%;
  overflow: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.35;
}

.copy-panel-inner,
.profitability-panel-inner {
  padding: 12px 10px 20px;
}

.copy-panel-header,
.profitability-panel-header {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #fff;
}

.profitability-section {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profitability-section-title {
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.95);
}

.profitability-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 3px 0;
}

.profitability-row span:last-child {
  text-align: right;
  white-space: nowrap;
}

.profitability-muted {
  color: rgba(255, 255, 255, 0.45);
}

.profitability-warn {
  color: #f0ad4e;
}

.profitability-bad {
  color: #ff6b6b;
}

.profitability-good {
  color: #6bcf7f;
}

.profitability-part {
  margin: 8px 0;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.profitability-feeds {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 10px;
}

.side-slide-tab::before,
.side-slide-tab::after {
  display: none;
}

.side-slide-tab:hover,
.side-slide-tab:focus-visible {
  color: #fff;
  background: #121212;
  border-color: rgba(255, 255, 255, 0.18);
  outline: none;
}

.side-slide:not(.slide-out) .side-slide-tab {
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.18);
}

.side-slide:not(.slide-out) .side-slide-tab:hover,
.side-slide:not(.slide-out) .side-slide-tab:focus-visible {
  transform: none;
}

.side-slide-tab-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: none;
  opacity: 0.85;
}

.side-slide-tab:hover .side-slide-tab-chevron,
.side-slide-tab:focus-visible .side-slide-tab-chevron {
  background: transparent;
  opacity: 1;
}

.side-slide-tab-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.side-slide:not(.slide-out) .tab-icon-close,
.side-slide.slide-out .tab-icon-open {
  display: none;
}

.side-slide.slide-out .tab-icon-close,
.side-slide:not(.slide-out) .tab-icon-open {
  display: inline-block;
}

.side-slide .nav {
  position: absolute;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-weight: 100;
}

.side-slide .nav li {
  padding-bottom: 30px;
  list-style-type: none;
}

.side-slide .nav li a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

.side-slide .nav li a:hover {
  color: #aaa;
}

#fileManager {
  margin-top: 0;
  padding-top: 0;
}

/* Legacy fileManager table rules (unused but kept for compat) */
.fileManager * {
    color: white;
}

table.fileManager {
    position: relative;
    width: 100%;
    left: 0px;
}

.fileManager tr {
    border: 0px;
}

.fileManager tr.directory {
    border-bottom: 1px;
}

.fileManager tr td:first-child {
    width: 100%;
}

.hiddenRow {
    padding: 0 !important;
}

.fileManager tr td:nth-child(2) {
  white-space: nowrap;
  padding: 0px
}

.fileManager tr td:nth-child(2) * {
    padding: 0px;
}

.fileManager div {
    padding:0px;
}
