/* ==========================================================================
   Shared Breadcrumb Component
   ========================================================================== */

.breadcrumb-da582ba {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* Segment button */
.segment-da582ba {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: none;
  border: none;
  border-radius: 4px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.segment-da582ba:hover:not(:disabled) {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.segment-da582ba:focus-visible {
  outline: 2px solid var(--terminal-cyan);
  outline-offset: 2px;
}

/* Current segment (not clickable) */
.segmentCurrent-da582ba {
  color: var(--text-primary);
  cursor: default;
  /* Allow truncation for long names */
  flex-shrink: 1;
  min-width: 0;
}

.segmentCurrent-da582ba .label-da582ba {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Icon within segment */
.icon-da582ba {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 1em;
}

/* Label text */
.label-da582ba {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Separator between segments */
.separator-da582ba {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8em;
  flex-shrink: 0;
}

/* ==========================================================================
   Mobile Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
  .breadcrumb-da582ba {
    gap: 0;
  }

  .segment-da582ba {
    padding: var(--space-1);
    font-size: var(--font-size-sm);
  }

  /* Hide labels for all non-current segments on mobile (show icons only) */
  .segment-da582ba:not(.segmentCurrent-da582ba) .label-da582ba {
    display: none;
  }

  /* Current segment keeps its label */
  .segmentCurrent-da582ba .label-da582ba {
    display: inline;
  }
}

/* Explorer - Scoped CSS Module */
/* Dual panel layout: file list (left) + preview panel (right) on desktop */
/* Single column with bottom sheet on mobile */

.explorer-cc58c05 {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  position: relative; /* For bottom sheet positioning */
}

/* ==========================================================================
   Header
   ========================================================================== */

.header-cc58c05 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-5);
  height: 3rem;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-secondary);
  flex-shrink: 0;
  position: relative;
}

/* Navigation buttons - Segmented control (macOS Finder style) */
.navButtons-cc58c05 {
  display: flex;
  flex-shrink: 0;
  background-color: var(--bg-tertiary);
  border-radius: 6px;
  padding: 2px;
}

.navButton-cc58c05 {
  background: none;
  border: none;
  color: var(--terminal-cyan);
  font-size: 1.125rem;
  cursor: pointer;
  padding: var(--space-2) var(--space-4);
  border-radius: 4px;
  transition: background-color 0.15s, color 0.15s, transform 0.1s;
  line-height: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Divider between buttons (all except last) */
.navButton-cc58c05:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--border-subtle);
}

.navButton-cc58c05:hover:not(:disabled) {
  background-color: var(--bg-secondary);
}

.navButton-cc58c05:active:not(:disabled) {
  transform: scale(0.95);
}

.navButtonDisabled-cc58c05 {
  color: var(--text-dim);
  cursor: default;
}

/* Arrow spans for animation */
.navArrowBack-cc58c05,
.navArrowForward-cc58c05 {
  display: inline-block;
  transition: transform 0.15s ease-out;
  font-weight: 500;
}

.navButton-cc58c05:hover:not(:disabled) .navArrowBack-cc58c05 {
  transform: translateX(-2px);
}

.navButton-cc58c05:hover:not(:disabled) .navArrowForward-cc58c05 {
  transform: translateX(2px);
}

.navButtonDisabled-cc58c05 .navArrowBack-cc58c05,
.navButtonDisabled-cc58c05 .navArrowForward-cc58c05 {
  opacity: 0.5;
}

/* ==========================================================================
   Header Title (current location name)
   ========================================================================== */

.title-cc58c05 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  font-weight: 500;
  max-width: calc(100% - 20rem);
  overflow: hidden;
}

.titleIcon-cc58c05 {
  display: flex;
  align-items: center;
  color: var(--terminal-cyan);
  font-size: 1.125rem;
  flex-shrink: 0;
}

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

/* Home button in nav group - no special styling needed */
.navButtonHome-cc58c05 {
  /* Uses same divider style as other buttons */
}

/* ==========================================================================
   Action Buttons (right side)
   ========================================================================== */

.actionButtons-cc58c05 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.actionButton-cc58c05 {
  background: none;
  border: none;
  color: var(--terminal-cyan);
  font-size: 1.125rem;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: 4px;
  transition: background-color 0.15s, color 0.15s, transform 0.1s;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.actionButton-cc58c05:hover {
  background-color: var(--bg-tertiary);
}

.actionButton-cc58c05:active {
  transform: scale(0.95);
}

/* ==========================================================================
   Dropdown Menu
   ========================================================================== */

.dropdownWrapper-cc58c05 {
  position: relative;
}

.dropdownMenu-cc58c05 {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: var(--space-1);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  min-width: 10rem;
  padding: var(--space-1) 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.dropdownItem-cc58c05 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) var(--space-3);
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  font-family: var(--font-mono);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s;
}

.dropdownItem-cc58c05:hover {
  background-color: var(--bg-tertiary);
}

.dropdownIcon-cc58c05 {
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.dropdownDivider-cc58c05 {
  height: 1px;
  background-color: var(--border-subtle);
  margin: var(--space-1) 0;
}

/* ==========================================================================
   Responsive visibility helpers
   ========================================================================== */

.desktopOnly-cc58c05 {
  display: flex;
}

.mobileOnly-cc58c05 {
  display: none;
}

/* ==========================================================================
   Body (Dual Panel Container)
   ========================================================================== */

.body-cc58c05 {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* File list pane (left side) */
.fileListPane-cc58c05 {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3) 0;
  min-width: 0; /* Allow shrinking */

  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) transparent;
}

.fileListPane-cc58c05::-webkit-scrollbar {
  width: 6px;
}

.fileListPane-cc58c05::-webkit-scrollbar-track {
  background: transparent;
}

.fileListPane-cc58c05::-webkit-scrollbar-thumb {
  background-color: var(--text-muted);
  border-radius: 3px;
}

/* ==========================================================================
   Desktop (> 768px): Dual panel with preview on right
   ========================================================================== */

/* When preview panel is shown, shrink file list to 50% */
@media (min-width: 769px) {
  .fileListPaneWithPreview-cc58c05 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* ==========================================================================
   Tablet (769px - 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .header-cc58c05 {
    gap: var(--space-3);
    padding: 0 var(--space-4);
  }

  .navButton-cc58c05 {
    font-size: 1rem;
    padding: var(--space-2) var(--space-3);
  }

  .title-cc58c05 {
    font-size: var(--font-size-sm);
  }

  .fileListPane-cc58c05 {
    padding: var(--space-2) 0;
  }
}

/* ==========================================================================
   Mobile (< 768px): Single column, bottom sheet for preview
   ========================================================================== */

@media (max-width: 768px) {
  .fileListPane-cc58c05 {
    flex: 1;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .header-cc58c05 {
    gap: var(--space-2);
    padding: 0 var(--space-3) 0 0;
  }

  .navButton-cc58c05 {
    font-size: 1.125rem;
    padding: var(--space-2);
  }


  .title-cc58c05 {
    font-size: var(--font-size-base);
    max-width: calc(100% - 10rem);
  }

  .fileListPane-cc58c05 {
    padding: var(--space-1) 0;
  }

  /* Hide desktop-only buttons, show mobile-only items */
  .desktopOnly-cc58c05 {
    display: none !important;
  }

  .mobileOnly-cc58c05 {
    display: flex !important;
  }

  .actionButtons-cc58c05 {
    gap: var(--space-1);
  }

  .actionButton-cc58c05 {
    padding: var(--space-2);
  }
}


/* FileList - Scoped CSS Module */

/* Container is the grid - header and items use display:contents */
.list-3e5e0f1 {
  display: grid;
  grid-template-columns:
    [icon] 3rem [name] minmax(8rem, 2fr) [desc] minmax(6rem, 2fr) [date] minmax(10ch, 1fr) [size] minmax(6ch, 1fr) [perms] minmax(5ch, 1fr) [chevron] 1.5rem;
  font-family: var(--font-mono);
  font-size: var(--font-size-base);
  overflow-x: hidden;
}

/* ==========================================================================
   Column Header (Desktop only)
   ========================================================================== */

.listHeader-3e5e0f1 {
  display: contents;
}

.listHeader-3e5e0f1>span {
  padding: var(--space-2) var(--space-2);
  color: var(--text-muted);
  font-weight: 600;
  background-color: var(--bg-secondary);
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.listHeader-3e5e0f1>span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-subtle);
}

/* Hide divider on first (icon) and last two (perms, chevron) columns */
.listHeader-3e5e0f1>span:first-child::after,
.listHeader-3e5e0f1>span:nth-last-child(2)::after,
.listHeader-3e5e0f1>span:last-child::after {
  display: none;
}

.headerIcon-3e5e0f1 {
  padding-left: var(--space-4);
}

.headerName-3e5e0f1 {}

.headerDesc-3e5e0f1 {}

.headerDate-3e5e0f1 {}

.headerSize-3e5e0f1 {}

.headerPerms-3e5e0f1 {}

.headerChevron-3e5e0f1 {
  padding-right: var(--space-4);
}

/* ==========================================================================
   List View Item
   ========================================================================== */

.listItem-3e5e0f1 {
  display: contents;
  cursor: pointer;
}

.listItem-3e5e0f1>span,
.listItem-3e5e0f1>div {
  padding: var(--space-2) var(--space-2);
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  transition: background-color 0.15s;
}

/* First and last cell padding */
.listItem-3e5e0f1>.icon-3e5e0f1 {
  padding-left: var(--space-4);
}

.listItem-3e5e0f1>.chevron-3e5e0f1 {
  padding-right: var(--space-4);
}

/* Hover - apply to all cells in the row */
.listItem-3e5e0f1:hover>span,
.listItem-3e5e0f1:hover>div {
  background-color: var(--bg-secondary);
}

/* Selected state - macOS Finder style */
.selected-3e5e0f1>span,
.selected-3e5e0f1>div {
  background-color: rgba(59, 130, 246, 0.15);
}

.selected-3e5e0f1:hover>span,
.selected-3e5e0f1:hover>div {
  background-color: rgba(59, 130, 246, 0.2);
}

/* ==========================================================================
   Cell Styles
   ========================================================================== */

.icon-3e5e0f1 {
  font-size: 1.375rem;
  justify-content: center;
}

.nameWrapper-3e5e0f1 {
  overflow: hidden;
}

.name-3e5e0f1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nameDir-3e5e0f1 {
  color: var(--terminal-cyan);
}

.nameFile-3e5e0f1 {
  color: var(--text-primary);
}

.nameHidden-3e5e0f1 {
  color: var(--text-dim);
}

.nameBold-3e5e0f1 {
  font-weight: 700;
}

.lockIcon-3e5e0f1 {
  margin-left: var(--space-1);
  font-size: 0.75em;
  color: var(--terminal-yellow);
  vertical-align: middle;
}

/* Desktop: hide mobile meta */
.mobileMeta-3e5e0f1 {
  display: none;
}

.itemDesc-3e5e0f1 {
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.itemDate-3e5e0f1 {
  color: var(--text-muted);
}

.size-3e5e0f1 {
  color: var(--text-dim);
  justify-content: flex-end;
}

.perms-3e5e0f1 {
  color: var(--text-dim);
  justify-content: center;
}

.chevron-3e5e0f1 {
  color: var(--text-dim);
  justify-content: center;
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1024px) {
  .list-3e5e0f1 {
    font-size: var(--font-size-sm);
    grid-template-columns:
      [icon] 2.5rem [name] minmax(6rem, 2fr) [desc] minmax(4rem, 2fr) [date] minmax(10ch, 1fr) [size] minmax(5ch, 1fr) [perms] minmax(5ch, 1fr) [chevron] 1.5rem;
  }

  .listItem-3e5e0f1>span,
  .listItem-3e5e0f1>div {
    min-height: 3rem;
  }

  .icon-3e5e0f1 {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   Mobile - iOS Files style
   ========================================================================== */

@media (max-width: 640px) {
  .list-3e5e0f1 {
    display: flex;
    flex-direction: column;
  }

  .listHeader-3e5e0f1 {
    display: none;
  }

  .listItem-3e5e0f1 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4) var(--space-3) 0;
    min-height: 4rem;
  }

  .listItem-3e5e0f1>span,
  .listItem-3e5e0f1>div {
    padding: 0;
    min-height: auto;
    display: block;
    background-color: transparent !important;
  }

  /* Hover and selected on the row itself */
  .listItem-3e5e0f1:hover {
    background-color: var(--bg-secondary);
  }

  .selected-3e5e0f1 {
    background-color: rgba(59, 130, 246, 0.15);
  }

  .selected-3e5e0f1:hover {
    background-color: rgba(59, 130, 246, 0.2);
  }

  .icon-3e5e0f1 {
    font-size: 1.75rem;
    flex-shrink: 0;
    display: flex;
    margin-right: var(--space-2);
  }

  .nameWrapper-3e5e0f1 {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .name-3e5e0f1 {
    font-size: var(--font-size-base);
  }

  .mobileMeta-3e5e0f1 {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
  }

  .mobileMeta-3e5e0f1 span:not(:last-child)::after {
    content: "·";
    margin-left: var(--space-2);
    color: var(--text-dim);
  }

  .itemDesc-3e5e0f1,
  .itemDate-3e5e0f1,
  .size-3e5e0f1,
  .perms-3e5e0f1 {
    display: none !important;
  }

  .chevron-3e5e0f1 {
    font-size: 1.25rem;
    color: var(--text-muted);
    flex-shrink: 0;
    display: flex !important;
  }
}

/* ==========================================================================
   Grid View (unused for now)
   ========================================================================== */

.gridItem-3e5e0f1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  min-height: 5rem;
}

.gridItem-3e5e0f1:hover {
  background-color: var(--bg-secondary);
  border-color: var(--border-primary);
}

.gridPerms-3e5e0f1 {
  color: var(--text-dim);
  font-size: var(--font-size-xs);
  margin-bottom: var(--space-1);
}

.gridNameDir-3e5e0f1 {
  color: var(--terminal-cyan);
  text-align: center;
  word-break: break-all;
}

.gridNameFile-3e5e0f1 {
  color: var(--text-primary);
  text-align: center;
  word-break: break-all;
}

.gridSize-3e5e0f1 {
  color: var(--text-dim);
  font-size: var(--font-size-xs);
  margin-top: var(--space-1);
}

.gridLayout-3e5e0f1 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
}

/* Input - Scoped CSS Module */

.line-ed7764c {
  display: flex;
  align-items: center;
  padding: var(--space-2) 0;
}

.prompt-ed7764c {
  color: var(--terminal-green);
  text-shadow: 0 0 2px currentColor;
}

.separator-ed7764c {
  color: var(--text-dim);
}

.field-ed7764c {
  flex: 1;
  position: relative;
}

.input-ed7764c {
  width: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  caret-color: var(--terminal-green);
  position: relative;
  z-index: 1;
}

.input-ed7764c:focus {
  outline: none;
  box-shadow: none;
}

/* Input wrapper for positioning suggestions */
.inputWrapper-ed7764c {
  position: relative;
}

/* Autocomplete suggestions */
.suggestions-ed7764c {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  margin-bottom: var(--space-1);
}

.suggestion-ed7764c {
  color: var(--text-muted);
  padding: 0 var(--space-2);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  font-size: var(--font-size-sm);
}

.suggestionActive-ed7764c {
  color: var(--terminal-cyan);
  border-color: var(--terminal-cyan);
  background-color: rgba(0, 255, 255, 0.1);
}

/* Ghost text overlay (shows input + hint together) */
.ghostOverlay-ed7764c {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  white-space: pre;
}

.ghostText-ed7764c {
  color: transparent;
}

.ghostHint-ed7764c {
  color: var(--text-muted);
  opacity: 0.5;
}


/* Markdown - Shared CSS Module */
/* Common markdown styling for preview panel and bottom sheet */

.markdown-f4eb76d {
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--text-primary);
}

.markdown-f4eb76d h1 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--terminal-cyan);
  margin: 0 0 var(--space-3) 0;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-subtle);
}

.markdown-f4eb76d h2 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--terminal-green);
  margin: var(--space-4) 0 var(--space-2) 0;
}

.markdown-f4eb76d h3 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--terminal-yellow);
  margin: var(--space-3) 0 var(--space-2) 0;
}

.markdown-f4eb76d p {
  margin: 0 0 var(--space-3) 0;
}

.markdown-f4eb76d a {
  color: var(--terminal-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.markdown-f4eb76d a:hover {
  color: var(--terminal-green);
}

.markdown-f4eb76d strong {
  font-weight: 700;
  color: var(--text-primary);
}

.markdown-f4eb76d em {
  font-style: italic;
}

.markdown-f4eb76d code {
  background-color: var(--bg-tertiary);
  padding: 0.125rem 0.25rem;
  border-radius: 3px;
  color: var(--terminal-cyan);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

.markdown-f4eb76d pre {
  background-color: var(--bg-tertiary);
  padding: var(--space-3);
  border-radius: 4px;
  overflow-x: auto;
  margin: var(--space-3) 0;
  border: 1px solid var(--border-subtle);
}

.markdown-f4eb76d pre code {
  background-color: transparent;
  padding: 0;
}

.markdown-f4eb76d ul,
.markdown-f4eb76d ol {
  margin: 0 0 var(--space-3) 0;
  padding-left: 0;
  list-style-position: inside;
}

.markdown-f4eb76d ul {
  list-style-type: disc;
}

.markdown-f4eb76d ol {
  list-style-type: decimal;
}

.markdown-f4eb76d li {
  margin-bottom: var(--space-1);
  padding-left: var(--space-3);
  text-indent: -1.2em;
  margin-left: 1.2em;
}

.markdown-f4eb76d li::marker {
  color: var(--terminal-green);
}

.markdown-f4eb76d blockquote {
  border-left: 2px solid var(--terminal-purple);
  padding-left: var(--space-3);
  margin: var(--space-3) 0;
  font-style: italic;
  color: var(--text-muted);
}

.markdown-f4eb76d hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: var(--space-4) 0;
}

.markdown-f4eb76d table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-3) 0;
  font-size: var(--font-size-xs);
}

.markdown-f4eb76d th,
.markdown-f4eb76d td {
  border: 1px solid var(--border-subtle);
  padding: var(--space-1) var(--space-2);
  text-align: left;
}

.markdown-f4eb76d th {
  background-color: var(--bg-tertiary);
  color: var(--terminal-cyan);
  font-weight: 600;
}

.markdown-f4eb76d img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}


/* Output - Scoped CSS Module */

.line-3300c60 {
  white-space: pre;
}

.lineEmpty-3300c60 {
  height: 1.25rem;
}

.command-3300c60 {
  display: flex;
}

.listEntry-3300c60 {
  display: flex;
  gap: 1rem;
  padding-left: 1rem;
}

.listEntry-3300c60 span:first-child {
  min-width: 16rem;
}

.longEntry-3300c60 {
  display: flex;
  gap: 0.75rem;
  padding-left: 1rem;
  font-family: monospace;
}

.longEntry-3300c60 span:nth-child(1) { /* permissions */
  min-width: 4ch;
}

.longEntry-3300c60 span:nth-child(2) { /* size */
  min-width: 5ch;
  text-align: right;
}

.longEntry-3300c60 span:nth-child(3) { /* date */
  min-width: 12ch;
}

.ascii-3300c60 {
  font-size: var(--font-size-xs);
  line-height: 1.25;
  color: var(--terminal-cyan);
}

/* Note: Apply .glow class from base.css for text-shadow effect */

/* Text Colors */
.textFg-3300c60 {
  color: var(--text-primary);
}

.textDim-3300c60 {
  color: var(--text-dim);
}

.textGreen-3300c60 {
  color: var(--terminal-green);
}

.textCyan-3300c60 {
  color: var(--terminal-cyan);
}

.textYellow-3300c60 {
  color: var(--terminal-yellow);
}

.textRed-3300c60 {
  color: var(--terminal-red);
}

.fontBold-3300c60 {
  font-weight: 700;
}

/* Removed: .glowSubtle - use .glow class from base.css instead */


/* ==========================================================================
   Path Bar (macOS Finder style)
   ========================================================================== */

.pathbar-337918b {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  height: 2rem;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-secondary);
  flex-shrink: 0;
  overflow-x: auto;
  overflow-y: hidden;

  /* Hide scrollbar but keep scrollable */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pathbar-337918b::-webkit-scrollbar {
  display: none;
}

/* Segment button */
.segment-337918b {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: none;
  border: none;
  border-radius: 4px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.segment-337918b:hover:not(:disabled) {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.segment-337918b:focus-visible {
  outline: 2px solid var(--terminal-cyan);
  outline-offset: 2px;
}

/* Current segment (not clickable) */
.segmentCurrent-337918b {
  color: var(--text-primary);
  cursor: default;
  font-weight: 500;
}

/* Icon within segment */
.icon-337918b {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 0.875em;
}

/* Label text */
.label-337918b {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Separator between segments */
.separator-337918b {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.7em;
  flex-shrink: 0;
}

/* ==========================================================================
   Mobile Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
  .pathbar-337918b {
    padding: var(--space-2) var(--space-3);
  }

  .segment-337918b {
    padding: var(--space-1);
    font-size: var(--font-size-xs);
  }
}


/* PreviewPanel - Scoped CSS Module */
/* Desktop side panel for file preview (Midnight Commander style) */

.panel-855436c {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header-855436c {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-tertiary);
  flex-shrink: 0;
}

.filename-855436c {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--font-size-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.actions-855436c {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

.decryptButton-855436c {
  background-color: var(--terminal-yellow);
  border: none;
  color: var(--bg-primary);
  padding: var(--space-1) var(--space-3);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.decryptButton-855436c:hover {
  opacity: 0.9;
}

.closeButton-855436c {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 var(--space-1);
  line-height: 1;
  transition: color 0.15s;
}

.closeButton-855436c:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Content
   ========================================================================== */

.content-855436c {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);

  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) transparent;
}

/* Bottom open bar button */
.openBar-855436c {
  flex-shrink: 0;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background-color: var(--bg-tertiary);
  border: none;
  border-top: 1px solid var(--border-subtle);
  color: var(--terminal-cyan);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.openBar-855436c:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.content-855436c::-webkit-scrollbar {
  width: 6px;
}

.content-855436c::-webkit-scrollbar-track {
  background: transparent;
}

.content-855436c::-webkit-scrollbar-thumb {
  background-color: var(--text-muted);
  border-radius: 3px;
}

/* ==========================================================================
   Text Preview
   ========================================================================== */

.textPreview-855436c {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.previewText-855436c {
  margin: 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-y: auto;
}

.loading-855436c {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  padding: var(--space-4);
  text-align: center;
}

.noPreview-855436c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-6);
  text-align: center;
  height: 100%;
}

.error-855436c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  text-align: center;
  height: 100%;
  color: var(--terminal-red);
}

.error-855436c span {
  font-size: 2.5rem;
}

.description-855436c {
  color: var(--text-dim);
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

/* ==========================================================================
   Image Preview
   ========================================================================== */

.imagePreview-855436c {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
}

.thumbnail-855436c {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 4px;
  background-color: var(--bg-tertiary);
}

.imageDesc-855436c {
  color: var(--text-dim);
  margin: 0;
  font-size: var(--font-size-sm);
  text-align: center;
}

.imageSize-855436c {
  color: var(--text-muted);
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
}

/* ==========================================================================
   Directory Preview
   ========================================================================== */

.dirPreview-855436c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  text-align: center;
  height: 100%;
}

.dirThumbnail-855436c {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 4px;
  background-color: var(--bg-tertiary);
}

.dirIcon-855436c {
  font-size: 3rem;
  color: var(--terminal-yellow);
}

.dirTitle-855436c {
  color: var(--text-primary);
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.dirDescription-855436c {
  color: var(--text-dim);
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  max-width: 280px;
}

.dirInfo-855436c {
  color: var(--text-primary);
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: 600;
}

.dirDetails-855436c {
  color: var(--text-muted);
  margin: 0;
  font-size: var(--font-size-sm);
}

.dirTags-855436c {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.dirTag-855436c {
  background-color: var(--bg-tertiary);
  color: var(--text-dim);
  font-size: var(--font-size-xs);
  font-family: var(--font-mono);
  padding: var(--space-1) var(--space-2);
  border-radius: 4px;
}

/* Encrypted file */
.encrypted-855436c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  text-align: center;
  height: 100%;
}

.lockIcon-855436c {
  font-size: 3rem;
}

.encryptedText-855436c {
  color: var(--text-dim);
  margin: 0;
  font-size: var(--font-size-base);
}

.hint-855436c {
  color: var(--text-muted);
  margin: 0;
  font-size: var(--font-size-sm);
}

/* ==========================================================================
   Hide on mobile (BottomSheet is used instead)
   ========================================================================== */

@media (max-width: 768px) {
  .panel-855436c {
    display: none;
  }
}


/* Reader - Scoped CSS Module */

.reader-8cbb4eb {
  height: 100%;
  width: 100%;
  background-color: var(--bg-primary);
  overflow-y: auto;
}

.reader-8cbb4eb:focus {
  outline: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header-8cbb4eb {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0 var(--space-5);
  height: 3rem;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

/* Navigation button (same style as Explorer) */
.navButtons-8cbb4eb {
  display: flex;
  flex-shrink: 0;
  background-color: var(--bg-tertiary);
  border-radius: 6px;
  padding: 2px;
}

.navButton-8cbb4eb {
  background: none;
  border: none;
  color: var(--terminal-cyan);
  font-size: 1.125rem;
  cursor: pointer;
  padding: var(--space-2) var(--space-4);
  border-radius: 4px;
  transition: background-color 0.15s, color 0.15s, transform 0.1s;
  line-height: 1;
}

.navButton-8cbb4eb:hover {
  background-color: var(--bg-secondary);
}

.navButton-8cbb4eb:active {
  transform: scale(0.95);
}

.navArrow-8cbb4eb {
  display: inline-block;
  transition: transform 0.15s ease-out;
  font-weight: 500;
}

.navButton-8cbb4eb:hover .navArrow-8cbb4eb {
  transform: translateX(-2px);
}

/* ==========================================================================
   Breadcrumb Path (absolute centered)
   ========================================================================== */

.breadcrumb-8cbb4eb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-mono);
  font-size: var(--font-size-base);
  max-width: calc(100% - 16rem); /* Leave space for left/right buttons */
  overflow: hidden;
}

.breadcrumbSegment-8cbb4eb {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.breadcrumbSegment-8cbb4eb:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.breadcrumbSegmentCurrent-8cbb4eb {
  color: var(--text-primary);
  font-weight: 600;
  cursor: default;
}

.breadcrumbSegmentCurrent-8cbb4eb:hover {
  background-color: transparent;
}

.breadcrumbSeparator-8cbb4eb {
  color: var(--text-dim);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.breadcrumbIcon-8cbb4eb {
  font-size: 1rem;
}

/* Action buttons */
.headerActions-8cbb4eb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.actionButton-8cbb4eb {
  background: none;
  border: none;
  color: var(--terminal-cyan);
  font-size: 1.125rem;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: 4px;
  transition: background-color 0.15s, color 0.15s, transform 0.1s;
  line-height: 1;
}

.actionButton-8cbb4eb:hover {
  background-color: var(--bg-tertiary);
}

.actionButton-8cbb4eb:active {
  transform: scale(0.95);
}

/* Dropdown menu */
.dropdownWrapper-8cbb4eb {
  position: relative;
}

.dropdownMenu-8cbb4eb {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: var(--space-1);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  min-width: 10rem;
  padding: var(--space-1) 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.dropdownItem-8cbb4eb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) var(--space-3);
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  font-family: var(--font-mono);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s;
}

.dropdownItem-8cbb4eb:hover {
  background-color: var(--bg-tertiary);
}

.dropdownIcon-8cbb4eb {
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.dropdownDivider-8cbb4eb {
  height: 1px;
  background-color: var(--border-subtle);
  margin: var(--space-1) 0;
}

/* Keyboard hint (desktop only) */
.hint-8cbb4eb {
  color: var(--text-dim);
  font-size: var(--font-size-xs);
  margin-left: var(--space-2);
}

.hintKey-8cbb4eb {
  color: var(--terminal-yellow);
  padding: 0 2px;
}

/* Responsive visibility */
.desktopOnly-8cbb4eb {
  display: flex;
}

.mobileOnly-8cbb4eb {
  display: none;
}

/* Content Area */
.content-8cbb4eb {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-12) var(--space-8);
  line-height: 1.7;
}

/* Loading/Error States */
.loading-8cbb4eb {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  color: var(--terminal-yellow);
}

.error-8cbb4eb {
  color: var(--terminal-red);
}

.errorTitle-8cbb4eb {
  font-weight: 700;
}

/* Typography for markdown content */
.content-8cbb4eb h1 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--terminal-cyan);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-muted);
}

.content-8cbb4eb h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--terminal-green);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.content-8cbb4eb h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--terminal-yellow);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.content-8cbb4eb p {
  margin-bottom: var(--space-4);
}

.content-8cbb4eb a {
  color: var(--terminal-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.content-8cbb4eb a:hover {
  color: var(--terminal-green);
}

.content-8cbb4eb strong {
  font-weight: 700;
  color: var(--text-primary);
}

.content-8cbb4eb em {
  font-style: italic;
}

/* Code Blocks */
.content-8cbb4eb code {
  background-color: var(--bg-secondary);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  color: var(--terminal-cyan);
  font-size: 0.9em;
}

.content-8cbb4eb pre {
  position: relative;
  background-color: var(--bg-secondary);
  padding: var(--space-4);
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: var(--space-4) 0;
  border: 1px solid var(--border-subtle);
}

.content-8cbb4eb pre::before {
  content: "┌─ code ─────────────────────────────────";
  position: absolute;
  top: -0.75rem;
  left: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  background-color: var(--bg-secondary);
  padding: 0 var(--space-2);
}

.content-8cbb4eb pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

/* Lists */
.content-8cbb4eb ul,
.content-8cbb4eb ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.content-8cbb4eb ul {
  list-style-type: disc;
}

.content-8cbb4eb ol {
  list-style-type: decimal;
}

.content-8cbb4eb li {
  margin-bottom: var(--space-2);
}

.content-8cbb4eb li::marker {
  color: var(--terminal-green);
}

/* Blockquote */
.content-8cbb4eb blockquote {
  border-left: 2px solid var(--terminal-purple);
  padding-left: var(--space-4);
  margin: var(--space-4) 0;
  font-style: italic;
  color: var(--text-dim);
}

/* Horizontal Rule */
.content-8cbb4eb hr {
  border: none;
  border-top: 1px solid var(--border-muted);
  margin: var(--space-8) 0;
}

/* Tables */
.content-8cbb4eb table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-4) 0;
}

.content-8cbb4eb th,
.content-8cbb4eb td {
  border: 1px solid var(--border-muted);
  padding: var(--space-2) var(--space-3);
  text-align: left;
}

.content-8cbb4eb th {
  background-color: var(--bg-secondary);
  color: var(--terminal-cyan);
  font-weight: 700;
}

/* Markdown container */
.markdown-8cbb4eb {
  /* inherits typography from .content :global() rules */
}

/* Raw text content (for unsupported file types) */
.rawText-8cbb4eb {
  white-space: pre-wrap;
  word-break: break-word;
}

/* PDF Viewer */
.pdfViewer-8cbb4eb {
  width: 100%;
  height: calc(100vh - 8rem);
  border: none;
  background-color: var(--bg-secondary);
}

/* Image Viewer */
.imageContainer-8cbb4eb {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.image-8cbb4eb {
  max-width: 100%;
  max-height: calc(100vh - 12rem);
  object-fit: contain;
  border-radius: 0.5rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .content-8cbb4eb {
    padding: var(--space-6) var(--space-4);
  }

  .header-8cbb4eb {
    padding: 0 var(--space-4);
    gap: var(--space-3);
  }

  .pdfViewer-8cbb4eb {
    height: calc(100vh - 6rem);
  }
}

@media (max-width: 640px) {
  .header-8cbb4eb {
    padding: 0 var(--space-3);
    gap: var(--space-2);
  }

  .navButton-8cbb4eb {
    font-size: 1rem;
    padding: var(--space-2) var(--space-3);
  }

  .breadcrumb-8cbb4eb {
    font-size: var(--font-size-base);
    max-width: calc(100% - 10rem);
  }

  /* Hide desktop-only elements */
  .desktopOnly-8cbb4eb {
    display: none !important;
  }

  /* Show mobile-only elements */
  .mobileOnly-8cbb4eb {
    display: flex !important;
  }

  .actionButton-8cbb4eb {
    padding: var(--space-2);
  }
}

@media (max-width: 480px) {
  .content-8cbb4eb pre::before {
    content: "┌─ code ─────────";
  }
}


/* BottomSheet - Scoped CSS Module */

.sheet-b8ec08c {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-radius: 1rem 1rem 0 0;
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
}

.sheetClosed-b8ec08c {
  transform: translateY(100%);
}

.sheetPreview-b8ec08c {
  transform: translateY(0);
  height: 40%;
}

.sheetDragging-b8ec08c {
  transition: none;
}

/* Drag handle */
.handle-b8ec08c {
  display: flex;
  justify-content: center;
  padding: var(--space-2);
  cursor: grab;
}

.handleBar-b8ec08c {
  width: 3rem;
  height: 4px;
  background-color: var(--text-dim);
  border-radius: 2px;
}

/* Header */
.sheetHeader-b8ec08c {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.filename-b8ec08c {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 600;
}

.sheetActions-b8ec08c {
  display: flex;
  gap: var(--space-2);
}

.actionButton-b8ec08c {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--terminal-cyan);
  padding: var(--space-1) var(--space-2);
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.15s;
}

.actionButton-b8ec08c:hover {
  background-color: var(--bg-tertiary);
}

.decryptButton-b8ec08c {
  background-color: var(--terminal-yellow);
  border: none;
  color: var(--bg-primary);
  padding: var(--space-1) var(--space-3);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.decryptButton-b8ec08c:hover {
  opacity: 0.9;
}

.closeButton-b8ec08c {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 var(--space-1);
  line-height: 1;
}

.closeButton-b8ec08c:hover {
  color: var(--text-primary);
}

/* Content */
.sheetContent-b8ec08c {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);

  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) transparent;
}

.preview-b8ec08c {
  color: var(--text-primary);
}

.description-b8ec08c {
  margin-bottom: var(--space-3);
  color: var(--text-dim);
}

.metaInfo-b8ec08c {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  color: var(--text-dim);
  font-size: var(--font-size-sm);
}

/* Encrypted file info */
.encryptedInfo-b8ec08c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  text-align: center;
}

.lockIcon-b8ec08c {
  font-size: 2rem;
}

.encryptedInfo-b8ec08c p {
  color: var(--text-dim);
  margin: 0;
}

.metaLine-b8ec08c {
  font-size: var(--font-size-sm);
}

.hint-b8ec08c {
  color: var(--text-muted);
  margin: 0;
  font-size: var(--font-size-sm);
}

/* ==========================================================================
   Text Preview
   ========================================================================== */

.textPreview-b8ec08c {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.previewText-b8ec08c {
  margin: 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-y: auto;
}

.loading-b8ec08c {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  padding: var(--space-4);
  text-align: center;
}

.noPreview-b8ec08c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  text-align: center;
}

.error-b8ec08c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  text-align: center;
  color: var(--terminal-red);
}

.error-b8ec08c span {
  font-size: 2rem;
}

/* ==========================================================================
   Directory Preview
   ========================================================================== */

.dirPreview-b8ec08c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  text-align: center;
}

.dirIcon-b8ec08c {
  font-size: 2.5rem;
  color: var(--terminal-yellow);
}

.dirTitle-b8ec08c {
  color: var(--text-primary);
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.dirDescription-b8ec08c {
  color: var(--text-dim);
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

.dirInfo-b8ec08c {
  color: var(--text-primary);
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: 600;
}

.dirDetails-b8ec08c {
  color: var(--text-muted);
  margin: 0;
  font-size: var(--font-size-sm);
}

.dirTags-b8ec08c {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1);
  margin-top: var(--space-1);
}

.dirTag-b8ec08c {
  background-color: var(--bg-tertiary);
  color: var(--text-dim);
  font-size: var(--font-size-xs);
  font-family: var(--font-mono);
  padding: 2px var(--space-2);
  border-radius: 4px;
}

/* ==========================================================================
   Image Preview
   ========================================================================== */

.imagePreview-b8ec08c {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.thumbnail-b8ec08c {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 4px;
  background-color: var(--bg-tertiary);
}

.imageDesc-b8ec08c {
  color: var(--text-dim);
  margin: 0;
  font-size: var(--font-size-sm);
  text-align: center;
}

/* ==========================================================================
   Hide on desktop (PreviewPanel is used instead)
   ========================================================================== */

@media (min-width: 769px) {
  .sheet-b8ec08c {
    display: none;
  }
}


/* Shell - Scoped CSS Module */
/* Root layout and global UI effects */

.screen-cad6520 {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
}

.main-cad6520 {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Content overlay (for Reader from Explorer) */
.overlay-cad6520 {
  position: absolute;
  inset: 0;
  z-index: 10000;
  background-color: var(--bg-primary);
}

/* ==========================================================================
   CRT Effects
   ========================================================================== */

.crtOverlay-cad6520 {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1) 0px,
    rgba(0, 0, 0, 0.1) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: 9999;
}

.scanline-cad6520 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  animation: scanline 8s linear infinite;
  pointer-events: none;
  z-index: 9998;
}


/* Status Bar - Scoped CSS Module */
/* Responsive status bar displaying session, location, and network info */

.bar-7012058 {
  flex: none;
  height: 2rem;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-muted);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0 var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--text-dim);
}

/* ==========================================================================
   View Toggle (Segmented Control)
   ========================================================================== */

.toggleGroup-7012058 {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  border: 1px solid var(--terminal-cyan);
  border-radius: 6px;
  overflow: hidden;
}

.toggleButton-7012058 {
  background: none;
  border: none;
  color: var(--terminal-cyan);
  cursor: pointer;
  padding: 4px 10px;
  transition: color 0.2s, background-color 0.2s;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Divider between buttons */
.toggleButton-7012058:first-child {
  border-right: 1px solid var(--terminal-cyan);
}

.toggleButton-7012058 svg {
  width: 14px;
  height: 14px;
}

.toggleButton-7012058:hover:not(.toggleActive-7012058) {
  background-color: rgba(0, 255, 255, 0.1);
}

.toggleActive-7012058 {
  background-color: var(--terminal-cyan);
  color: var(--bg-primary);
}

/* ==========================================================================
   Status Information Section
   ========================================================================== */

.section-7012058 {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  /* Allow truncation */
  overflow: hidden;
  gap: var(--space-6);
}

.label-7012058,
.labelCyan-7012058,
.labelPurple-7012058 {
  display: flex;
  align-items: center;
  gap: 0.5em;
  white-space: nowrap;
  padding-right: var(--space-4);
  border-right: 1px solid var(--border-muted);
}

.label-7012058 {
  color: var(--terminal-green);
}

.labelCyan-7012058 {
  color: var(--terminal-cyan);
}

.labelPurple-7012058 {
  color: var(--terminal-purple);
  padding-right: 0;
  border-right: none;
}

.labelText-7012058 {
  /* Visible on desktop, hidden on mobile */
}

.labelIcon-7012058 {
  display: none;
  /* Hidden on desktop, visible on mobile */
  align-items: center;
  opacity: 0.7;
}

.labelIcon-7012058 svg {
  width: 14px;
  height: 14px;
}

.value-7012058 {
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ==========================================================================
   Tablet (481px - 768px)
   ========================================================================== */

@media (max-width: 768px) {
  .bar-7012058 {
    gap: var(--space-2);
    padding: 0 var(--space-3);
  }

  .section-7012058 {
    gap: var(--space-4);
  }
}

/* ==========================================================================
   Mobile (< 480px)
   ========================================================================== */

@media (max-width: 480px) {
  .bar-7012058 {
    font-size: var(--font-size-xs);
    padding: 0 var(--space-2);
  }

  .section-7012058 {
    gap: var(--space-3);
  }

  .label-7012058,
  .labelCyan-7012058,
  .labelPurple-7012058 {
    padding-right: var(--space-3);
  }

  .labelPurple-7012058 {
    padding-right: 0;
  }

  /* Switch from text labels to icons on mobile */
  .labelText-7012058 {
    display: none;
  }

  .labelIcon-7012058 {
    display: flex;
  }

  .toggleButton-7012058 {
    padding: 2px var(--space-1);
  }

  .toggleButton-7012058 svg {
    width: 14px;
    height: 14px;
  }
}

/* Terminal - Scoped CSS Module */

.container-16fa963 {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 var(--space-4);
  cursor: text;
}

.output-16fa963 {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);

  /* Scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) transparent;
}

.output-16fa963::-webkit-scrollbar {
  width: 6px;
}

.output-16fa963::-webkit-scrollbar-track {
  background: transparent;
}

.output-16fa963::-webkit-scrollbar-thumb {
  background-color: var(--text-muted);
  border-radius: 3px;
}

.output-16fa963::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-dim);
}

.inputArea-16fa963 {
  flex: none;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-primary);
}
