/* Selector genérico Importar desde Drive (nucleo) */
.kuro-drive-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.45);
}

.kuro-drive-sheet {
  width: min(560px, 100%);
  max-height: min(80vh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: var(--kuro-surface, #fff);
  color: inherit;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.kuro-drive-head,
.kuro-drive-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: color-mix(in srgb, currentColor 5%, transparent);
}

.kuro-drive-foot {
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  justify-content: flex-end;
}

.kuro-drive-crumb,
.kuro-drive-status {
  margin: 0;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
}

.kuro-drive-list {
  flex: 1;
  overflow: auto;
  padding: 0.35rem 0.55rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.kuro-drive-row {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 3%, transparent);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.kuro-drive-row:hover {
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.kuro-drive-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

.kuro-drive-icon {
  font-size: 1rem;
  line-height: 1;
}
